Josh wrote: > Lee Revell wrote: > >> On 2/3/07, Lee Revell <rlrevell@xxxxxxxxxxx> wrote: >> >>> On 2/3/07, Josh <TwoOneSix@xxxxxxxxxxxxxxxxxx> wrote: >>> >>>> $ aplay -D spdif -t raw -f S32_LE -c2 -r48000 sample_track.ac3 >>>> Playing raw data 'sample_track.ac3' : Signed 32 bit Little Endian, >>>> >>> Rate >>> >>>> 48000 Hz, Stereo >>>> Aborted by signal Interrupt... >>>> >>> Sorry, no idea. Try with the 7.1 and mplayer. Maybe AC3 passthrough >>> is in fact unsupported. >>> >>> >> Hmm, it should definitely work with the 7.1. Try this: >> >> http://alsa.opensrc.org/Ice1724 >> >> Lee >> >> >> >> > > Yea, I was using that page and it wasn't working as expected... HOWEVER > I guess we can consider the following update "progress." > Now, using this as my asound.conf I can get some audio to work using > "default". > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > # hw:0,1 designates the Digital Coaxial Output > # S32_LE is the only format supported by the driver > # period_time, period_size, and buffer_size are needed to make aRts not > stutter. Increase buffer_size if stuttering persists. > pcm.spdifdmix { > type dmix > ipc_key 1024 > slave { > pcm "hw:0,1" > format S32_LE > period_time 0 > period_size 1024 > buffer_size 4096 > } > } > > # default ALSA route for software support of multiple sound streams > pcm.!default { > type plug > slave.pcm spdifdmix > } > > # Ogle > pcm.!spdif { > type plug > slave.pcm "hw:0,1" > } > > # mplayer -ac hwac3 > pcm.!iec958 { > type plug > slave.pcm "hw:0,1" > } > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > When I do a "aplay -D spdif -t raw -f S32_LE -c2 -r48000 sample_track.ac3" > > I can hear static and the receiver shows "PCM 48" > > Check this... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ]$ mplayer -ao alsa sample_track.ac3 Playing sample_track.ac3. libavformat file format detected. ========================================================================== Opening audio decoder: [liba52] AC3 decoding with liba52 Using SSE optimized IMDCT transform Using MMX optimized resampler AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000) Selected audio codec: [a52] afm: liba52 (AC3-liba52) ========================================================================== AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Video: no video Starting playback... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ and I can hear the audio from my speakers... the reason I didn't hear it before was because the volume was down and my music sounded normal but this particular track was too low. Either way, it's working, but I think it's because (as you can see from the output above) it's in 2 channel s16le mode... I think I need to find a better sample track for AC3 5.1 testing... Any ideas? I've been Googling for the past 20 minutes and can't seem to find anything, yet. -- Josh ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user