CMedia 8738 - problems running Jack
Hi,
I am unable to file any bug reports with the Alsa bug system so I'm
bringing the info here. Thanks in advance.
I have a machine with 3 sound devices in it:
mark@gigastudio ~ $ cat /proc/asound/cards
0 [M2496 ]: ICE1712 - M Audio Audiophile 24/96
M Audio Audiophile 24/96 at 0xa400, irq 10
1 [R15 ]: RME9636 - RME Digi9636 (Rev 1.5)
RME Digi9636 (Rev 1.5) at 0xe2000000, irq 9
2 [CMI8738MC6 ]: CMI8738-MC6 - C-Media PCI CMI8738-MC6
C-Media PCI CMI8738-MC6 (model 55) at 0xd800, irq 11mark@gigastudio ~ $
Jack is installed and runs fine on the AP2496 and the Hammerfall.
Jack does not run correctly on the 8738. I first saw this on 2.6.12-gentoo-r10 so I updated to 2.6.14-rc5-rt5 and see the same problem. The problem is independent of JAck timings. It's as bad with 1024/2 as it is with 128/2.
1) If I use QJackCtl to start Jack it fails immediately:
09:07:02.736 JACK is starting...
09:07:02.737 /usr/bin/jackd -R -P80 -dalsa -dhw:2 -r44100 -p128 -n2 09:07:02.752 JACK was started with PID=6191 (0x182f).
jackd 0.100.5
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:2|hw:2|128|2|44100|0|0|nomon|swmeter|-|32bit control device hw:2
configuring for 44100Hz, period = 128 frames, buffer = 2 periods
Note: audio device hw:2 doesn't support a 32bit sample format so JACK will try a 24bit format instead
Note: audio device hw:2 doesn't support a 24bit sample format so JACK will try a 16bit format instead
nperiods = 2 for capture
Note: audio device hw:2 doesn't support a 32bit sample format so JACK will try a 24bit format instead
Note: audio device hw:2 doesn't support a 24bit sample format so JACK will try a 16bit format instead
nperiods = 2 for playback
09:07:04.844 Server configuration saved to "/home/mark/.jackdrc". 09:07:04.845 Statistics reset.
09:07:04.965 Client activated.
09:07:04.966 Audio connection change.
09:07:04.973 Audio connection graph change.
09:07:04.974 XRUN callback (1).
09:07:06.977 XRUN callback (342 skipped).
jackd watchdog: timeout - killing jackd
zombified - calling shutdown handler
09:07:07.952 Shutdown notification.
09:07:07.953 Client deactivated.
09:07:07.954 JACK was stopped successfully.
cannot send request type 7 to server
cannot read result for request type 7 from server (Broken pipe) cannot send request type 7 to server
cannot read result for request type 7 from server (Broken pipe)
2) If I change the settings to support capture only it seems to work. I have not tested that I can actually receive audio as it isn;t important in my application:
09:07:53.784 JACK is starting...
09:07:53.786 /usr/bin/jackd -R -P80 -dalsa -dhw:2 -r44100 -p128 -n2 -C 09:07:53.793 JACK was started with PID=6198 (0x1836).
jackd 0.100.5
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:2|128|2|44100|0|0|nomon|swmeter|-|32bit control device hw:2
configuring for 44100Hz, period = 128 frames, buffer = 2 periods
Note: audio device hw:2 doesn't support a 32bit sample format so JACK will try a 24bit format instead
Note: audio device hw:2 doesn't support a 24bit sample format so JACK will try a 16bit format instead
nperiods = 2 for capture
09:07:55.902 Server configuration saved to "/home/mark/.jackdrc". 09:07:55.904 Statistics reset.
09:07:55.909 Client activated.
09:07:55.911 Audio connection change.
09:07:55.921 Audio connection graph change.
3) If I set it for playback only it fails with lots of xruns:
09:08:36.228 JACK is starting...
09:08:36.230 /usr/bin/jackd -R -P80 -dalsa -dhw:2 -r44100 -p128 -n2 -P 09:08:36.248 JACK was started with PID=6205 (0x183d).
jackd 0.100.5
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:2|-|128|2|44100|0|0|nomon|swmeter|-|32bit control device hw:2
configuring for 44100Hz, period = 128 frames, buffer = 2 periods
Note: audio device hw:2 doesn't support a 32bit sample format so JACK will try a 24bit format instead
Note: audio device hw:2 doesn't support a 24bit sample format so JACK will try a 16bit format instead
nperiods = 2 for playback
09:08:38.388 Server configuration saved to "/home/mark/.jackdrc". 09:08:38.390 Statistics reset.
09:08:38.395 Client activated.
09:08:38.397 Audio connection change.
09:08:38.404 Audio connection graph change.
09:08:41.458 XRUN callback (1).
delay of 5809.000 usecs exceeds estimated spare time of 2872.000; restart ... delay of 5697.000 usecs exceeds estimated spare time of 2872.000; restart ... delay of 5675.000 usecs exceeds estimated spare time of 2872.000; restart ... delay of 5675.000 usecs exceeds estimated spare time of 2872.000; restart ...
<SNIP>
delay of 5660.000 usecs exceeds estimated spare time of 2872.000; restart ... delay of 5665.000 usecs exceeds estimated spare time of 2872.000; restart ... 09:08:42.322 Client deactivated.
09:08:42.323 JACK is stopping...
delay of 5667.000 usecs exceeds estimated spare time of 2872.000; restart ... delay of 5641.000 usecs exceeds estimated spare time of 2872.000; restart ... delay of 5734.000 usecs exceeds estimated spare time of 2872.000; restart ... delay of 5743.000 usecs exceeds estimated spare time of 2872.000; restart ... delay of 5758.000 usecs exceeds estimated spare time of 2872.000; restart ... delay of 5683.000 usecs exceeds estimated spare time of 2872.000; restart ... delay of 5750.000 usecs exceeds estimated spare time of 2872.000; restart ... delay of 5739.000 usecs exceeds estimated spare time of 2872.000; restart ... delay of 5769.000 usecs exceeds estimated spare time of 2872.000; restart ... jack main caught signal 15
delay of 5656.000 usecs exceeds estimated spare time of 2872.000; restart ... no message buffer overruns
09:08:42.392 JACK was stopped successfully.
The hardware is pretty generic:
gigastudio ~ # lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333] 0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
0000:00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
0000:00:06.0 Mass storage controller: Promise Technology, Inc. PDC20265 (FastTrak100 Lite/Ultra100) (rev 02)
0000:00:0c.0 FireWire (IEEE 1394): Texas Instruments TSB12LV23 IEEE-1394 Controller
0000:00:0d.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 05)
0000:00:0f.0 Multimedia audio controller: Xilinx Corporation RME Digi9652 (Hammerfall) (rev 08)
0000:00:10.0 Multimedia audio controller: VIA Technologies Inc. ICE1712 [Envy24] PCI Multi-Channel I/O Controller (rev 02) 0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge 0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) 0000:00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b)
0000:00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b)
0000:00:11.4 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 4000 AGP 8x] (rev c1)
gigastudio ~ #
It runs fine with the Hammerfall:
09:13:57.183 JACK is starting...
09:13:57.185 /usr/bin/jackd -R -P80 -dalsa -dhw:1 -r44100 -p128 -n2 09:13:57.218 JACK was started with PID=6240 (0x1860).
jackd 0.100.5
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:1|hw:1|128|2|44100|0|0|nomon|swmeter|-|32bit control device hw:1
configuring for 44100Hz, period = 128 frames, buffer = 2 periods nperiods = 2 for capture
nperiods = 2 for playback
09:13:59.375 Server configuration saved to "/home/mark/.jackdrc". 09:13:59.377 Statistics reset.
09:13:59.500 Client activated.
09:13:59.503 Audio connection change.
09:13:59.510 Audio connection graph change.
It runs fine with the AP2496:
09:14:41.826 JACK is starting...
09:14:41.828 /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p128 -n2 09:14:41.845 JACK was started with PID=6247 (0x1867).
jackd 0.100.5
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|128|2|44100|0|0|nomon|swmeter|-|32bit control device hw:0
configuring for 44100Hz, period = 128 frames, buffer = 2 periods nperiods = 2 for capture
nperiods = 2 for playback
09:14:43.933 Server configuration saved to "/home/mark/.jackdrc". 09:14:43.935 Statistics reset.
09:14:43.941 Client activated.
09:14:43.943 Audio connection change.
09:14:43.951 Audio connection graph change.
Thanks in advance. I hope a developer will look into this sooner
vs. later as this information is likely to get pretty stale not being in the bug reporting system.
Thanks,
Mark
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information
Quoted 4 lines · Mark Knecht
Hi,
I am unable to file any bug reports with the Alsa bug system so I'm
bringing the info here. Thanks in advance.
Thanks to James and Lee this is now files as bug # 1496
https://85.132.177.35/alsa-bug/view.php?id=1496
Cheers,
Mark
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information
Quoted 9 lines · Mark Knecht
Quoted 4 lines · Mark Knecht
Hi,
I am unable to file any bug reports with the Alsa bug system so I'm
bringing the info here. Thanks in advance.Thanks to James and Lee this is now files as bug # 1496
I had and worked-around this problem, see
http://boudicca.tux.org/hypermail/jackit-devel/this-month/0055.html
i.e. run jack with the -o 2 parameter
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information
Quoted 9 lines · Dave Cunningham
Quoted 8 lines · Mark Knecht
Quoted 4 lines · Mark Knecht
Hi,
I am unable to file any bug reports with the Alsa bug system so I'm
bringing the info here. Thanks in advance.Thanks to James and Lee this is now files as bug # 1496
Quoted 9 lines
Quoted 1 line
I had and worked-around this problem, see
http://boudicca.tux.org/hypermail/jackit-devel/this-month/0055.html
i.e. run jack with the -o 2 parameter
Dave,
Thanks very much. This does allow Jack to run in duplex mode
without crashing.
Now, as things would have it, I cannot locate a cable to see if the
beast makes noise. Off to the store to buy one I guess.
I'm not sure, in this case, how having more than 2 outputs would
serve me. As far as I can tell the machine only has a stereo output jack. I have no idea where the other four would be used. Possibly other machines provide a 5.1 output?
Anyway, thanks.
Cheers,
Mark
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information
Quoted 15 lines · Mark Knecht
Quoted 14 lines · Dave Cunningham
Quoted 9 lines · Mark Knecht
Quoted 4 lines · Mark Knecht
Hi,
I am unable to file any bug reports with the Alsa bug system so I'm
bringing the info here. Thanks in advance.Thanks to James and Lee this is now files as bug # 1496
I had and worked-around this problem, see
Quoted 8 lines
Quoted 4 lines
http://boudicca.tux.org/hypermail/jackit-devel/this-month/0055.html
i.e. run jack with the -o 2 parameter
Dave,
Thanks very much. This does allow Jack to run in duplex mode
without crashing.
No probs, took me weeks to find a solution to this, I tried every alsa version available on the site to find the point where it broke, and then diffed the code before i figured that it might be channel-related :)
Quoted 7 lines
Now, as things would have it, I cannot locate a cable to see if the
beast makes noise. Off to the store to buy one I guess.I'm not sure, in this case, how having more than 2 outputs would
serve me. As far as I can tell the machine only has a stereo output jack. I have no idea where the other four would be used. Possibly other machines provide a 5.1 output?
Mine has plugs for front / rear / bass+centre, as well as optical ports that i've never tried
heres a pic of something very similar from the net
http://www.microdirect.co.uk/ProductInfo.aspx?ProductID=8462
and here is lspci -v ouput
0000:03:04.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
Subsystem: TERRATEC Electronic GmbH: Unknown device 1144
Flags: bus master, medium devsel, latency 32, IRQ 18 I/O ports at b000 [size=256]
Capabilities: [c0] Power Management version 2
I imagine the issue is the number of cards that look very similar but have different capabilities, and changing the driver to add support for features of one kind of card will break others...
It's also pretty confusing why sometimes there are several stereo pcm devices to access different channels, and sometimes a single pcm device with multiple alsa "channels". Especially since this confusion is presented to the user.
You should probably augment the bug report with a link to my archived jackit-devel post and the work-around, and also provide more information about exactly what kind of card you have.
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information
Quoted 5 lines · Dave Cunningham
It's also pretty confusing why sometimes there are several stereo pcm devices to access different channels, and sometimes a single pcm device with multiple alsa "channels". Especially since this confusion is presented to the user.
It's not confusing at all, it makes perfect sense. If you want to play stereo out the front speakers use the "front" device. If you want to play stereo out the rear speakers use the "rear" device. Etc. If you want to play 5.1 surround out of all 6 speakers use the "surround51" device.
What could be simpler?
Lee
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information
Quoted 13 lines · Lee Revell
Quoted 5 lines · Dave Cunningham
It's also pretty confusing why sometimes there are several stereo pcm devices to access different channels, and sometimes a single pcm device with multiple alsa "channels". Especially since this confusion is presented to the user.
It's not confusing at all, it makes perfect sense. If you want to play stereo out the front speakers use the "front" device. If you want to play stereo out the rear speakers use the "rear" device. Etc. If you want to play 5.1 surround out of all 6 speakers use the "surround51" device.
Quoted 3 lines
What could be simpler?
Lee
It would be great if it were like that, but this is how it appears to me:
name: C-Media PCI DAC/ADC
has 6 channels, only 2 of which seem to work, whereas
name: C-Media PCI 2nd DAC
seems to have 2 channels.
There is another device for IEC958 as well, and there is also a bunch of mixer controls relating to "four channel mode" and "mic as rear" etc. It's *very* confusing.
The card is 5.1 and has 3 analogue output jacks, and a pair of optical ports around the back.
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information
Quoted 21 lines · Dave Cunningham
Quoted 13 lines · Lee Revell
Quoted 5 lines · Dave Cunningham
It's also pretty confusing why sometimes there are several stereo pcm devices to access different channels, and sometimes a single pcm device with multiple alsa "channels". Especially since this confusion is presented to the user.
It's not confusing at all, it makes perfect sense. If you want to play stereo out the front speakers use the "front" device. If you want to play stereo out the rear speakers use the "rear" device. Etc. If you want to play 5.1 surround out of all 6 speakers use the "surround51" device.
Quoted 3 lines
What could be simpler?
Lee
It would be great if it were like that, but this is how it appears to me:
Quoted 7 lines
name: C-Media PCI DAC/ADC
has 6 channels, only 2 of which seem to work, whereas
name: C-Media PCI 2nd DAC
seems to have 2 channels.
Tell us how you think the mixer should look then file a feature request.
Lee
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information
Quoted 27 lines · Dave Cunningham
Quoted 13 lines · Lee Revell
Quoted 5 lines · Dave Cunningham
It's also pretty confusing why sometimes there are several stereo pcm devices to access different channels, and sometimes a single pcm device with multiple alsa "channels". Especially since this confusion is presented to the user.
It's not confusing at all, it makes perfect sense. If you want to play stereo out the front speakers use the "front" device. If you want to play stereo out the rear speakers use the "rear" device. Etc. If you want to play 5.1 surround out of all 6 speakers use the "surround51" device.
Quoted 3 lines
What could be simpler?
Lee
It would be great if it were like that, but this is how it appears to me:
name: C-Media PCI DAC/ADC
has 6 channels, only 2 of which seem to work, whereas
name: C-Media PCI 2nd DAC
Quoted 10 lines
seems to have 2 channels.
There is another device for IEC958 as well, and there is also a bunch of mixer controls relating to "four channel mode" and "mic as rear" etc. It's *very* confusing.
The card is 5.1 and has 3 analogue output jacks, and a pair of optical ports around the back.
In my case it's a sound chip on an older Asus A7V-266E Motherboard
http://www.mbreview.com/a7v266e.php
The link above says it's a 6-channel sound solution but on my system I have only a stereo output. I'm guessing that there might have been a dongle card to get the other outputs out but I've long since lost that I suppose.
Anyway, after getting some cables this afternoon it appears that on my system only the left output is working at all, and then it's only working under Jack. I get no sound (so far) trying to run aplay or alsaplayer targeted at this device, but I may be doing something wrong there.
Before you jump at the 'only hte left side' item, the only reason I even turned this device on after all these years of not using it was because someone on the PlanetCCRMA list was lookign for help. He also only gets sound on the left side, so this looks semi-real to me.
Can someone check out and let me know how to run aplay to card #2?
gigastudio ~ # cat /proc/asound/cards
0 [M2496 ]: ICE1712 - M Audio Audiophile 24/96
M Audio Audiophile 24/96 at 0xa400, irq 10
1 [R15 ]: RME9636 - RME Digi9636 (Rev 1.5)
RME Digi9636 (Rev 1.5) at 0xe2000000, irq 9
2 [CMI8738MC6 ]: CMI8738-MC6 - C-Media PCI CMI8738-MC6
C-Media PCI CMI8738-MC6 (model 55) at 0xd800, irq 11gigastudio ~ #
It appears that Dave gets at least stereo from his card. Is this true? We're not in such (relatively) good shape.
Cheers,
Mark
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information
Quoted 9 lines · Mark Knecht
Can someone check out and let me know how to run aplay to card #2?
gigastudio ~ # cat
/proc/asound/cards
0 [M2496 ]: ICE1712 - M Audio Audiophile 24/96M Audio Audiophile 24/96 at 0xa400, irq 10 1 [R15 ]: RME9636 - RME Digi9636 (Rev 1.5) RME Digi9636 (Rev 1.5) at 0xe2000000, irq 9 2 [CMI8738MC6 ]: CMI8738-MC6 - C-Media PCI CMI8738-MC6 C-Media PCI CMI8738-MC6 (model 55) at 0xd800, irq 11
aplay -D plughw:2,0 file.wav
Lee
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information
Quoted 11 lines · Lee Revell
Quoted 9 lines · Mark Knecht
Can someone check out and let me know how to run aplay to card #2?
gigastudio ~ # cat
/proc/asound/cards
0 [M2496 ]: ICE1712 - M Audio Audiophile 24/96M Audio Audiophile 24/96 at 0xa400, irq 10 1 [R15 ]: RME9636 - RME Digi9636 (Rev 1.5) RME Digi9636 (Rev 1.5) at 0xe2000000, irq 9 2 [CMI8738MC6 ]: CMI8738-MC6 - C-Media PCI CMI8738-MC6 C-Media PCI CMI8738-MC6 (model 55) at 0xd800, irq 11
Quoted 3 lines
aplay -D plughw:2,0 file.wav
Lee
Thanks. I thought plughw went through some processing - for resampling or something. Is that not true? And if so, how do I go to the device directly? (aplay -D hw:2,0?)
Cheers,
Mark
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information
Quoted 12 lines · Mark Knecht
Quoted 11 lines · Lee Revell
Quoted 9 lines · Mark Knecht
Can someone check out and let me know how to run aplay to card #2?
gigastudio ~ # cat
/proc/asound/cards
0 [M2496 ]: ICE1712 - M Audio Audiophile 24/96M Audio Audiophile 24/96 at 0xa400, irq 10 1 [R15 ]: RME9636 - RME Digi9636 (Rev 1.5) RME Digi9636 (Rev 1.5) at 0xe2000000, irq 9 2 [CMI8738MC6 ]: CMI8738-MC6 - C-Media PCI CMI8738-MC6 C-Media PCI CMI8738-MC6 (model 55) at 0xd800, irq 11
Quoted 7 lines
Quoted 3 lines
aplay -D plughw:2,0 file.wav
Lee
Thanks. I thought plughw went through some processing - for resampling or something. Is that not true? And if so, how do I go to the device directly? (aplay -D hw:2,0?)
It does. I recommended hw:2,0 because most of the .wav files people have sitting around are 44100 Hz, and some cheap onboard hardware can only do 48000Hz.
Lee
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information
At Tue, 25 Oct 2005 01:24:20 +0100,
Quoted 17 lines · Dave Cunningham
Quoted 15 lines · Lee Revell
Quoted 5 lines · Dave Cunningham
It's also pretty confusing why sometimes there are several stereo pcm devices to access different channels, and sometimes a single pcm device with multiple alsa "channels". Especially since this confusion is presented to the user.
It's not confusing at all, it makes perfect sense. If you want to play stereo out the front speakers use the "front" device. If you want to play stereo out the rear speakers use the "rear" device. Etc. If you want to play 5.1 surround out of all 6 speakers use the "surround51" device.
What could be simpler?
Quoted 8 lines
Quoted 1 line
Lee
It would be great if it were like that, but this is how it appears to me:
name: C-Media PCI DAC/ADC
has 6 channels, only 2 of which seem to work,
Hmm, it may depend on the chip model.
There are quite many models of CMIPCI...
Quoted 5 lines
whereas
name: C-Media PCI 2nd DAC
seems to have 2 channels.
It's a rear DAC shared with ADC, i.e. if you use this DAC, you cannot record at the same time.
Quoted 3 lines
There is another device for IEC958 as well, and there is also a bunch of mixer controls relating to "four channel mode" and "mic as rear" etc. It's *very* confusing.
"Mic As Rear" etc are deprecated and replaced with "Line-In Mode" and "Mic-In Mode" controls. See CMIPCI.txt for details.
"Four Channel Mode" switch is to turn on the signal duplication from front to rear.
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information