[mythtvnz] No sound on videos

Steve Hodge stevehodge at gmail.com
Thu Feb 18 02:53:38 GMT 2010


On Thu, Feb 18, 2010 at 1:40 PM, Robin Gilks <g8ecj at gilks.org> wrote:

>  > On Wed, 17 Feb 2010 19:17:55 +1300, you wrote:
> > Next problem: One of the files I want to be able to play has 24 kHz
> > audio, and that still does not play.  I am guessing that means that
> > the sound chip on the motherboard does not work below 32 kHz.  So does
> > anyone know how to tell Alsa to upsample anything below 32 kHz?  I
> > imagine what is needed is:
> >
> >   24 kHz => 48 kHz
> >   22.5 kHz => 44.1 kHz
> >
>
> Create (if you don't already have one) a file called .asoundrc in the home
> account of the user running mythtv with the following
>
> pcm.!default {
>    type plug
>    slave.pcm "spdif"
>    slave.rate 48000
> }
>
> Works for me....
>
I've done it that way as well, but it's not quite ideal as it resamples
everything to 48kHz, regardless of what the hardware can actually take. Most
S/PDIF inputs take 32, 44.1, and 48kHz so ideally you don't want to resample
if the source is one of those rates. Anyone know if/how ALSA can be
instructed to leave 32kHz and 44.1kHz data alone and resample everything
else to 48kHz?

Cheers,
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ourshack.com/pipermail/mythtvnz/attachments/20100218/ee57a92b/attachment.htm 


More information about the mythtvnz mailing list