[pulseaudio-discuss] [RFC][PATCH] improve missing handling in memblockq (was Re: stream wedged in non-playing state)

Arun Raghavan arun at arunraghavan.net
Wed Jun 1 10:01:57 UTC 2016


On Tue, 31 May 2016, at 08:10 PM, Pierre Ossman wrote:
> Arun Raghavan wrote:
> 
> > Has this been tested with different prebuf values in buffer_attr? That
> > seems to be one change that might affect other callers. Ideally we
> > should also just add a test to the check-daemon suite to cover this
> > and maybe a long-running case for the bug you found.
> 
> I've only tested this by running a few random applications. Do you have
> some good test cases that I should run? Or the principle and I can look
> at writing test cases?

I don't have good example as such, but I do know the alsa pulse plugin
for example sets different flags (and buffer attrs?) from the more
standard async clients.

We have an old test for creating a simple set of streams as a sanity
check. Maybe this could be extended to run with different combinations
of flags and attributes.

  http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/tests/sync-playback.c

-- Arun


More information about the pulseaudio-discuss mailing list