summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-07-02 09:22:32 +0300
committerUoti Urpala <uau@mplayer2.org>2011-07-02 09:22:32 +0300
commitc8b3088c1831ab5f698924ce75127caa55b50dbb (patch)
tree12ca3b7d7b53ff9458b80f2c83de2cf29d522862 /libmpdemux
parent746f9b004038e09392b69abb3ba26b1cc32a90d7 (diff)
downloadmpv-c8b3088c1831ab5f698924ce75127caa55b50dbb.tar.bz2
mpv-c8b3088c1831ab5f698924ce75127caa55b50dbb.tar.xz
audio: move ready-for-ao data buffer from decoder to AO
Move the buffer storing audio data ready to be fed to the audio output driver from the audio decoder object to the AO object. This will help encoding code deal with end of input, and may also be useful to improve other general gapless audio behavior (as AOs which do not accept chunks smaller than a certain size may keep them in the buffer while the decoder changes). Less data may be dropped now when changing audio filters or switching timeline parts.
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/stheader.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/libmpdemux/stheader.h b/libmpdemux/stheader.h
index ce4db94035..1ca4acab8b 100644
--- a/libmpdemux/stheader.h
+++ b/libmpdemux/stheader.h
@@ -72,11 +72,6 @@ typedef struct sh_audio {
char* a_buffer;
int a_buffer_len;
int a_buffer_size;
- // output buffers:
- char* a_out_buffer;
- int a_out_buffer_len;
- int a_out_buffer_size;
-// void* audio_out; // the audio_out handle, used for this audio stream
struct af_stream *afilter; // the audio filter stream
const struct ad_functions *ad_driver;
#ifdef CONFIG_DYNAMIC_PLUGINS