[Alsa-user] S/PDIF testing with aplay
Brought to you by:
perex
From: Peter H. <hu...@gm...> - 2005-07-23 17:32:27
|
Hello, I'm trying to get my Chaintech AV710 to play through my receiver via the TOSLINK connector. This is a freshly installed Fedora Core 4 system. I'm pretty hazy on the whole relationship between TOSLINK, S/PDIF, and IEC958. In any case, I have both IEC958 devices set to max in alsamixer. Here's some aplay output: [peter@tony ~]$ aplay -L PCM list: hw { @args.0 CARD @args.1 DEV @args.2 SUBDEV @args.CARD { type string default { @func getenv vars { 0 ALSA_PCM_CARD 1 ALSA_CARD } default { @func refer name 'defaults.pcm.card' } } } @args.DEV { type integer default { @func igetenv vars { 0 ALSA_PCM_DEVICE } default { @func refer name 'defaults.pcm.device' } } } @args.SUBDEV { type integer default { @func refer name 'defaults.pcm.subdevice' } } type hw card $CARD device $DEV subdevice $SUBDEV } plughw { @args.0 CARD @args.1 DEV @args.2 SUBDEV @args.CARD { type string default { @func getenv vars { 0 ALSA_PCM_CARD 1 ALSA_CARD } default { @func refer name 'defaults.pcm.card' } } } @args.DEV { type integer default { @func igetenv vars { 0 ALSA_PCM_DEVICE } default { @func refer name 'defaults.pcm.device' } } } @args.SUBDEV { type integer default { @func refer name 'defaults.pcm.subdevice' } } type plug slave.pcm { type hw card $CARD device $DEV subdevice $SUBDEV } } plug { @args.0 SLAVE @args.SLAVE { type string } type plug slave.pcm $SLAVE } shm { @args.0 SOCKET @args.1 PCM @args.SOCKET { type string } @args.PCM { type string } type shm server $SOCKET pcm $PCM } tee { @args.0 SLAVE @args.1 FILE @args.2 FORMAT @args.SLAVE { type string } @args.FILE { type string } @args.FORMAT { type string default raw } type file slave.pcm $SLAVE file $FILE format $FORMAT } file { @args.0 FILE @args.1 FORMAT @args.FILE { type string } @args.FORMAT { type string default raw } type file slave.pcm null file $FILE format $FORMAT } null { type null } cards 'cards.pcm' front 'cards.pcm.front' rear 'cards.pcm.rear' center_lfe 'cards.pcm.center_lfe' side 'cards.pcm.side' surround40 'cards.pcm.surround40' surround41 'cards.pcm.surround41' surround50 'cards.pcm.surround50' surround51 'cards.pcm.surround51' surround71 'cards.pcm.surround71' iec958 'cards.pcm.iec958' spdif 'cards.pcm.iec958' modem 'cards.pcm.modem' default 'cards.pcm.default' dmix 'cards.pcm.dmix' dsnoop 'cards.pcm.dsnoop' [peter@tony ~]$ aplay -D default trumpetsat48000.wav Playing WAVE 'trumpetsat48000.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo (I hear sound through line out at this point.) [peter@tony ~]$ aplay -D spdif trumpetsat48000.wav Playing WAVE 'trumpetsat48000.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo aplay: set_params:882: Sample format non available [peter@tony ~]$ aplay -D iec958 trumpetsat48000.wav Playing WAVE 'trumpetsat48000.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo aplay: set_params:882: Sample format non available The ultimate goal is to pass AC3 and DTS from DVDs to my receiver using mpl= ayer. Thanks in advance for any assistance. -Peter |