mirror of
https://github.com/mpv-player/mpv
synced 2025-03-07 14:47:53 +00:00
ao_opensles: bump device buffer size to 200ms
While the soft buffer size is already by default 200ms, it is not enough to guarantee dropout-free playback on Bluetooth audio. Bumping the device buffer size to the same value seems to suffice.
This commit is contained in:
parent
0a9ab1b076
commit
013a8f75f3
@ -101,7 +101,7 @@ static void buffer_callback(SLBufferQueueItf buffer_queue, void *context)
|
||||
pthread_mutex_unlock(&p->buffer_lock);
|
||||
}
|
||||
|
||||
#define DEFAULT_BUFFER_SIZE_MS 50
|
||||
#define DEFAULT_BUFFER_SIZE_MS 200
|
||||
|
||||
#define CHK(stmt) \
|
||||
{ \
|
||||
|
Loading…
Reference in New Issue
Block a user