[mythtv] [mythtv-commits] Ticket #5900: AO: Generalise upmix and AC-3 encoding

Colin Guthrie mythtv at colin.guthr.ie
Tue Nov 11 20:08:18 UTC 2008


foo bar wrote:
> 2008/11/11 Dave Badia <dbadia at gmail.com>:
>> I'm also doing the whole "bit perfect audio" thing.  So, if I'm
>> understanding correctly, when I upgrade to head/next myth release I will
>> need to apply the above patch (which removes one of the features of the
>> original patch)  to continue getting 44.1KHz output through my soundcard?
> 
> This is configurable in the latest version of the patch - if you're
> confident that ALSA isn't going to resample (twice) and have
> appropriate hardware you can add a setting 'DisableResampler' with
> value 1 to the db.
> 
> For the vast majority it's far better that we resample - SRC anywhere
> else in the chain (ALSA, card) would be done with a SNR much less than
> a *worst case* 97dB..
> 
> To set the setting:
> 
> echo "insert into settings values ('DisableResampler', 0, '<hostname
> of frontend>')" | mysql -u mythtv -p mythconverg

Can this be configured by a sound output class (e.g. the sound output 
pulseaudio class from cal's patch)? In this output class you'd probably 
want to enforce no resampling programatically and not rely on having to 
set a setting too.

Col

-- 

Colin Guthrie
myth(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
   Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
   Mandriva Linux Contributor [http://www.mandriva.com/]
   PulseAudio Hacker [http://www.pulseaudio.org/]
   Trac Hacker [http://trac.edgewall.org/]


More information about the mythtv-dev mailing list