Re: Simultaneous AC3/DTS passthrough & stereo analog output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Peter Zubaj wrote:
> Hi,
>
> AFAIK analog is turned off (on ac3/dts playback) because spdif output
> jack is shared with center/lfe analog output jack on normal audigy 2
> (without external box). I don't know, if it is safe to enable analog and
> digital at same time. If you want different behavior, you need to modify
> driver.
>
> Peter Zubaj
>   

Ah, according to lspci -v mine is a "Creative Labs SB Audigy 2 ZS 
(SB0350)" and it's got a dedicated digital out,  line in, Mic in, then 3 
line outs for analogue speakers + one Firewire that doesn't really work.

When (if) I have time I'll try to have a look through the driver code 
and see if their's an easy way to do this, but I get the feeling from 
reading round that its more of a general framework issue and not down to 
any specific drivers.

Outputting standard stereo PCM sound to both analogue and digital is 
trivial and shows it's not a hardware problem, I think the issue is that 
when an encoded digital single (AC3/DTS) is received there is no 
mechanism for doing anything other than pass it through to the digital 
output.

This means that while individual apps can duplicate the signal and send 
one for pass through and one for downmix or recording or use it to feed 
kernel entropy or fill up /dev/null or whatever, as the MythTV people 
have done, there's no standard method and each implementation will be 
different, which would seem unfortunate.

> On Mon, 2007-11-05 at 17:12 +0800, Bob wrote:
>   
>> Bob wrote:
>>     
>>> I'm using an Audigy2 in one PC and an SB Live value in another (both 
>>> Debian etch) and I output to a 5.1 speaker system over S/PDIF coax and 
>>> to my headphones (via the TV) over analogue stereo.
>>>
>>> I have AC3 passthrough working when I call mplayer with -afm hwac3, (I 
>>> think DTS will work but can't find a test clip) and I can soft decode 
>>> and downmix the AC3 audio with -ac a52, so that's all great, except that 
>>> with -ac a52 rear left and right are mixed and I don't get anything out 
>>> of the LFE track.
>>>
>>> What I can't do is both at once which would make life easer for SWMBO.
>>>
>>> This is possible in newer versions of MythTV, but obviously as a 
>>> function of that software, it doesn't help you when playing an ac3 video 
>>> with mplayer.
>>>
>>> My google search (below) has reviled I'm not alone in wanting this but 
>>> hints that a more general solution may not be possible, however, my 
>>> search skills are week so I thought I'd ask."ac3 passthrough" "analog 
>>> (output | stereo | downmix)" (simultaneous | "both at" | "same time")
>>>
>>> Has anyone got any suggestions?
>>>
>>> I can install more than one sound card, so if it can be done but only on 
>>> a second card I'm still interested in the solution
>>>
>>> Thanks for any help.
>>>
>>> PS: I asked the same question on debian-user 20 days ago and 
>>> mythtv-users 10 days ago but with no luck, sorry to those who are 
>>> subscribed to the other lists.
>>>   
>>>       
>> Mmm, so no one with any thought's on this?
>>
>> Is it imposable within the ALSA framework?
>>
>> Do any of the devs hang around here?
>>
>> Sorry for following up my own post, bad form bla bla bla
>>     


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux