On Sat, May 27, 2006 at 08:18:59PM +0200, Jan Johansson wrote: > andrew fresh <[EMAIL PROTECTED]> wrote: > > I have tried one of those, I had forgotten about that. The > > problem with the USB digital output that I have tried is that > > it does not do AC3/DTS passthrough, all it does is output 2 > > channel PCM over the optical digital connection. > > > > I believe the one I tried was a Turtle Beach Audio Advantage > > Micro. If there is USB audio that will do AC3/DTS passthrough > > on OpenBSD, I would be happy with that. > > I have a Sinovoice UAC-05 which identifies like this > > uaudio0 at uhub0 port 2 configuration 1 interface 0: ABC C-Media USB > Headphone Set, rev 1.10/1.00, addr 2 > uaudio0: audio rev 1.00, 8 mixer controls > audio0 at uaudio0
I found the Turtle Beach AudioAdvantage Micro that I tried before: uaudio0 at uhub0 port 1 configuration 1 interface 0: C-Media INC. USB Audio, rev 1.10/0.10, addr 2 uaudio0: audio rev 1.00, 4 mixer controls audio1 at uaudio0 and a Creative USB SoundBlaster Model SB0270: uaudio0: audio rev 1.00, 3 mixer controls audio1 at uaudio0 uhidev1 at uhub1 port 2 configuration 1 interface 3 uhidev1: Creative Labs USB Audio, rev 1.10/1.00, addr 2, iclass 3/0 uhid0 at uhidev1: input=3, output=3, feature=0 > it is connected to my NAD T-760 receiver using a toslink > (optical) cable. Mine connects to my Yamaha RX-V1400 through optical. > In the following examples I use "Gladiator" (region 2). > To get DTS on the receiver: > To get Dolby Digital on the receiver: > (On "Shrek" (region 1) I had to use -aid to get DTS.) I am trying an Xvid with AC3 5.1 encoded into it (the machine I have that can get close enough to the reciever doesn't have a DVD drive) doing $ mplayer <file> I get: ========================================================================== Opening audio decoder: [liba52] AC3 decoding with liba52 Using SSE optimized IMDCT transform AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s 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) ========================================================================== which I believe means that it sees the file is AC3 5.1 but it is decoding it to 2ch s16le and outputting it to the headphone jack. when I $ mplayer -ac hwac3 <file> I get: ========================================================================== Forced audio codec: hwac3 Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF No accelerated IMDCT transform found hwac3: switched to AC3, 448000 bps, 48000 Hz AUDIO: 48000 Hz, 2 ch, ac3, 448.0 kbit/29.17% (ratio: 56000->192000) Selected audio codec: [hwac3] afm:hwac3 (AC3 through S/PDIF) ========================================================================== Mplayer claims it is converting it to 2ch AC3, but according to this, it is just lying: http://marc.theaimsgroup.com/?l=mplayer-users&m=114837108311020&w=2 "mplayer was throwing me a red herring by telling me it was playing 2-channel when in fact hwac3 was sending the full raw audio to the amp." So, I tried 2 different files, one with 5.1ch and one with 2ch. My reciever shows that it is recieving the correct number of channels depending on the file. > Hope this helps. It did! It got me to try it again and I see now that It Just Works![1] I get AC3 passthrough working correctly with both sound cards. w00 h00! [1] unlike the linux box I have that claims to pass through AC3 but instead just sends garbage to the reciever. l8rZ, -- andrew - ICQ# 253198 - JID: [EMAIL PROTECTED] BOFH excuse of the day: We already sent around a notice about that.