[PATCH] protocol-native: Allow clients to know at what index underrun occurred

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2011-08-02 at 14:59 +0200, David Henningsson wrote:
> On 2011-08-02 14:34, David Henningsson wrote:
> > This patch introduces some extra protocol information, so protocol
> > version is bumped. This functionality is primarily needed to solve
> > a long standing issue in alsa-plugins, which should ignore underruns
> > if and only if it is obsolete, i e, if more data has been written to
> > the pipe in the meantime (which will automatically end the underrun).
> >
> > BugLink: http://bugs.launchpad.net/bugs/805940
> > Signed-off-by: David Henningsson<david.henningsson at canonical.com>
> 
> For reference, here's a preliminary (it has two flaws, but works for 
> testing) alsa-plugins patch that makes use of the new functionality.

pcm->written is always zero - is that one of the flaws, and how can it
work for testing?

-- 
Tanu



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux