diff options
author | wm4 <wm4@nowhere> | 2014-09-04 23:48:27 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-05 01:53:10 +0200 |
commit | a7d737a6986446ba921690cc985468534ed8caab (patch) | |
tree | d0b2af92edac2f3ebc2cc25d97046c1c0dcd30f0 /audio/out/internal.h | |
parent | 7ab228629e8184a43782606e9fb0319110c8eee8 (diff) | |
download | mpv-a7d737a6986446ba921690cc985468534ed8caab.tar.bz2 mpv-a7d737a6986446ba921690cc985468534ed8caab.tar.xz |
audio: make buffer size configurable
Really only for testing.
Diffstat (limited to 'audio/out/internal.h')
-rw-r--r-- | audio/out/internal.h | 4 |
1 files changed, 1 insertions, 3 deletions
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; }; |