Use sio_flush() instead of sio_stop() to improve controls responsiveness

ok sthen
This commit is contained in:
ratchov 2022-04-29 08:53:00 +00:00
parent cd288e02a4
commit bcb258003d
2 changed files with 13 additions and 1 deletions

View File

@ -1,7 +1,7 @@
COMMENT = input and output plugins for Audacious
DISTNAME = audacious-plugins-${VERSION}
REVISION = 2
REVISION = 3
# BSD / GPL
PERMIT_PACKAGE = Yes

View File

@ -0,0 +1,12 @@
Index: src/sndio/sndio.cc
--- src/sndio/sndio.cc.orig
+++ src/sndio/sndio.cc
@@ -344,7 +344,7 @@ void SndioPlugin::flush ()
{
pthread_mutex_lock (& m_mutex);
- sio_stop (m_handle);
+ sio_flush (m_handle);
m_frames_buffered = 0;
m_last_write_time = timeval ();