[pulseaudio-discuss] {PATCH][RFC] AC3 passthrough support
Tanu Kaskinen
tanuk at iki.fi
Mon Jul 12 13:23:48 PDT 2010
On Mon, 2010-07-12 at 14:57 -0500, pl bossart wrote:
> > Again, when reading the thread further, I found the reason why
> > snd_pcm_hw_params_can_rewind doesn't exist - it was replaced by
> > snd_pcm_rewindable. Pulseaudio doesn't call that. I added a "patch" (not
> > formatted as a proper patch) to ticket 839 that adds the
> > snd_pcm_rewindable check to the alsa sink. If you could test that and
> > see if it helps with the rate converter plugin, I'll prepare a proper
> > patch.
>
> Tanu, can you provide this fix? Couldn't find your patch, no bug #839.
> PulseAudio has another routine: pa_alsa_pcm_is_hw, this could also be
> used but it would prevent rewinds for iec958 as well...
Oh, pa_alsa_pcm_is_hw seems useful. Currently it's only used for
disabling tsched. I guess even with tsched disabled, pulseaudio still
tries to do rewinding - I think it would make sense to set max rewind to
zero if pa_alsa_pcm_is_hw returns false.
You apparently didn't look hard enough for the ticket :) It was closed
for a while, but I reopened it today. Here's the url:
http://pulseaudio.org/ticket/839
--
Tanu Kaskinen
More information about the pulseaudio-discuss
mailing list