Jack, alsa, m-audio 2496 and weird number of channels
Posted: Sat Jan 23, 2010 11:52 am
Hi!
I have a m-audio 2496 PCI card using the snd_ice1712 alsa module. Jack sees 12 capture and 10 playback ports but the card has two analog inputs and two analog outputs. This has two problems for me:
1. qjackctl and patchage show non existing ports (minor problem)
2. Jack_capture is working badly (major problem)
When I launch jack_capture, it has 10 input channels. Obviously, I connect my audio sources to system_playbacks 1 and 2, and jack_capture autoconnects these audio sources to its inputs 1 and 2. The final result (wav 16 bit in jack_capture settings) is an audio file with ten channels that no multimedia player is able to play so I have to resort to audacity. ogg and mp3 don't work. Neither will work flac, I guess.
So my question, How can I force jack or alsa to see only two capture and two playback channels?
Or how can I force jack_capture to have two inputs only?
I have tried limiting the input and output channels in the jack setup but this doesn't work:
12:42:59.199 /usr/bin/jackd -R -P70 -dalsa -dhw:0 -r44100 -p512 -n2 -i2 -o2
12:42:59.203 JACK se inició con PID=28841.
no message buffer overruns
jackd 0.116.1
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
loading driver ..
apparent rate = 44100
creating alsa driver ... hw:0|hw:0|512|2|44100|2|2|nomon|swmeter|-|32bit
control device hw:0
configuring for 44100Hz, period = 512 frames (11.6 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: cannot set channel count to 2 for capture
ALSA: cannot configure capture channel
cannot load driver module alsa
12:42:59.966 JACK ha sido detenido satisfactoriamente.
12:42:59.966 Script de post - apagado...
12:42:59.967 killall jackd
jackd: proceso no encontrado
12:43:00.379 El script de post - apagado finalizó con estado 256
Is there a hack I can do in the .asoundrc file or something else to tell the snd_ICE1712 that I only want the ports I really have?
Any help is appreciated.
Pablo
I have a m-audio 2496 PCI card using the snd_ice1712 alsa module. Jack sees 12 capture and 10 playback ports but the card has two analog inputs and two analog outputs. This has two problems for me:
1. qjackctl and patchage show non existing ports (minor problem)
2. Jack_capture is working badly (major problem)
When I launch jack_capture, it has 10 input channels. Obviously, I connect my audio sources to system_playbacks 1 and 2, and jack_capture autoconnects these audio sources to its inputs 1 and 2. The final result (wav 16 bit in jack_capture settings) is an audio file with ten channels that no multimedia player is able to play so I have to resort to audacity. ogg and mp3 don't work. Neither will work flac, I guess.
So my question, How can I force jack or alsa to see only two capture and two playback channels?
Or how can I force jack_capture to have two inputs only?
I have tried limiting the input and output channels in the jack setup but this doesn't work:
12:42:59.199 /usr/bin/jackd -R -P70 -dalsa -dhw:0 -r44100 -p512 -n2 -i2 -o2
12:42:59.203 JACK se inició con PID=28841.
no message buffer overruns
jackd 0.116.1
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
loading driver ..
apparent rate = 44100
creating alsa driver ... hw:0|hw:0|512|2|44100|2|2|nomon|swmeter|-|32bit
control device hw:0
configuring for 44100Hz, period = 512 frames (11.6 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: cannot set channel count to 2 for capture
ALSA: cannot configure capture channel
cannot load driver module alsa
12:42:59.966 JACK ha sido detenido satisfactoriamente.
12:42:59.966 Script de post - apagado...
12:42:59.967 killall jackd
jackd: proceso no encontrado
12:43:00.379 El script de post - apagado finalizó con estado 256
Is there a hack I can do in the .asoundrc file or something else to tell the snd_ICE1712 that I only want the ports I really have?
Any help is appreciated.
Pablo