I've tried to snip and reformat this to make it easier to read. Sorry if it is garbled but my eyesight isn't good and I found the original as it arrived hard to follow... In article <1296747375.2368.31.camel@xxxxxxxxxxxxxxxxxxx>, Kevin Tough <kevin@xxxxxxxxxxxxx> wrote: > > Have you tried using -D hw:0 or other values after "hw:" instead of -D > > plughw:0 ? If the card has more than one output device you may need to > > also give a second value, so use something like -D hw:0,1 instead. > > What does "aplay -l" give you? > Slainte, > Jim > Hi Jim, > aplay -l gives me this: > *** List of PLAYBACK Hardware Devices **** > card 0: Intel [HDA Intel], > device 0: ALC888 Analog [ALC888 Analog] Subdevices: 1/1 Subdevice #0: > subdevice #0 > card 1: M2496 [M Audio Audiophile 24/96], device 0: ICE1712 > multi [ICE1712 multi] Subdevices: 1/1 Subdevice #0: subdevice #0 > When I type the following command my DACs are working (Analog Outputs): > $ aplay -D plughw:1 /tmp/Track6.wav > The card number can also be M2496 or even 1,0. Now I know that the > analog outs work :-) The negative part is that the s/pdif output then > does not work. OK. > If I drop the 'plug' in front of hw the 'Playing WAVE...' line comes and > then also 'aplay: set_params:1053: Sample format not available Available > formats: -S32_LE I don't know the card, so can't be sure. But it may be possible to sort that out by including a 'format' line in a 'plug' or !default in .asounrc or elsewhere. For example. if I have pcm.plug0 { type plug slave { pcm "hw:1" format S24_3LE } } in my .asoundrc file then I can use -D plug0 to play sounds to my USB DACs that are 'card 1' but which require the stream to be S24_3LE format. Putting the same format into !default like pcm.!default { type plug slave { pcm "hw:1" channels 2 format S24_3LE } } make this the alsa default with no need to use -D to direct the output. (The above is stereo so you may also need something like a 'channels 6' line for 5.1). Can't say if this will help in your case, though. Your card may not co-operate. And if you also are using other software like Pulse it may get in the way of such a basic approach when not using aplay. > If I use Vlc and with my Fedora 13 play music through the S/PDIF outputs > of the card the aplay command returns 'aplay: main:654: audio open > error: Device or resource busy. That will happen if something else is already playing the hardware without giving an input via dmix or similar, I think. > Just in case you should ask me for some outputs from console commands is > there a quick way to copy them to the copy/paste buffer? I just redirect output from a command into a file with '>' or cat things. :-) Slainte, Jim -- Electronics http://www.st-and.ac.uk/~www_pa/Scots_Guide/intro/electron.htm Audio Misc http://www.audiomisc.co.uk/index.html Armstrong Audio http://www.audiomisc.co.uk/Armstrong/armstrong.html ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user