Use sio_flush() instead of sio_stop() to improve controls responsiveness
ok sthen
This commit is contained in:
parent
bcb258003d
commit
c75bc45221
@ -4,7 +4,7 @@ GH_ACCOUNT = mpv-player
|
||||
GH_PROJECT = mpv
|
||||
GH_TAGNAME = v0.34.1
|
||||
|
||||
REVISION = 0
|
||||
REVISION = 1
|
||||
|
||||
SHARED_LIBS += mpv 0.2 # 1.109
|
||||
|
||||
|
@ -245,8 +245,8 @@ Index: audio/out/ao_sndio.c
|
||||
+ if (p->playing) {
|
||||
+ p->playing = false;
|
||||
+
|
||||
+ if (!sio_stop(p->hdl)) {
|
||||
+ MP_ERR(ao, "reset: couldn't sio_stop()\n");
|
||||
+ if (!sio_flush(p->hdl)) {
|
||||
+ MP_ERR(ao, "reset: couldn't sio_flush()\n");
|
||||
+ }
|
||||
+ p->delay = 0;
|
||||
+ if (!sio_start(p->hdl)) {
|
||||
|
Loading…
Reference in New Issue
Block a user