Re: sndio: add sio_flush() function

2022-04-28 Thread Alexandre Ratchov
On Wed, Apr 27, 2022 at 10:48:42PM +0200, Caspar Schutijser wrote: > Hi, > > On Thu, Mar 24, 2022 at 07:11:42AM +0100, Alexandre Ratchov wrote: > > Most audio/video players do a stop/start cycle whenever the play > > position is changed, track is changed, etc. Currently, stopping drains > > the pl

Re: sndio: add sio_flush() function

2022-04-27 Thread Caspar Schutijser
Hi, On Thu, Mar 24, 2022 at 07:11:42AM +0100, Alexandre Ratchov wrote: > Most audio/video players do a stop/start cycle whenever the play > position is changed, track is changed, etc. Currently, stopping drains > the play buffer, which by default is very large (to workaround very > long kernel non

Re: sndio: add sio_flush() function

2022-03-23 Thread Alexandre Ratchov
On Thu, Mar 24, 2022 at 07:11:42AM +0100, Alexandre Ratchov wrote: > Most audio/video players do a stop/start cycle whenever the play > position is changed, track is changed, etc. Currently, stopping drains > the play buffer, which by default is very large (to workaround very > long kernel non-pree

sndio: add sio_flush() function

2022-03-23 Thread Alexandre Ratchov
Most audio/video players do a stop/start cycle whenever the play position is changed, track is changed, etc. Currently, stopping drains the play buffer, which by default is very large (to workaround very long kernel non-preemptive code-paths). This makes player controls sluggish. This diff adds a