From a7d737a6986446ba921690cc985468534ed8caab Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 4 Sep 2014 23:48:27 +0200 Subject: audio: make buffer size configurable Really only for testing. --- audio/out/internal.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'audio/out/internal.h') diff --git a/audio/out/internal.h b/audio/out/internal.h index 75f5798bff..4ee7f00f8a 100644 --- a/audio/out/internal.h +++ b/audio/out/internal.h @@ -25,9 +25,6 @@ #include "audio/chmap.h" #include "audio/chmap_sel.h" -// Minimum buffer size in seconds. -#define MIN_BUFFER 0.2 - // If ao_get_delay() reaches this value after ao_play() was called with the // AOPLAY_FINAL_CHUNK flag set, the playback core expects that the audio has // all been played. @@ -56,6 +53,7 @@ struct ao { struct mp_log *log; // Using e.g. "[ao/coreaudio]" as prefix int buffer; + double def_buffer; void *api_priv; }; -- cgit v1.2.3