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

foo bar foobum at gmail.com
Thu Nov 13 09:44:59 UTC 2008


2008/11/13 John P Poet <jppoet at gmail.com>:
> So, you are saying that if I do:
>
> aplay -D iec958 music.wav
>
> where music.wav is encoded at 44.1KHz, that alsa will convert that to
> 48KHz, then back to 44.1KHz before sending it to my receiver, just so
> it can "mix"?  That is ugly.  Guess I will have to craft up a
> asound.conf file to tell it not to do that.   Been a while since I
> have had to do that -- gonna need a refresher.
>
> My receiver definitely says it is receiving a 44.1KHz signal, so I
> know the sound card is delivering it at the correct rate.

No. I assume iec958 is a straight hw device and that ALSA doesn't do
sw mixing and therefore doesn't resample in that case.

It would resample if you were to do aplay music.wav or aplay -D
default music.wav or aplay -D plughw:x,y music.wav, which is why
resampling in myth is best thing for the majority.

Have you actually tried the SRC in myth?


More information about the mythtv-dev mailing list