diff options
author | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-16 21:52:25 +0000 |
---|---|---|
committer | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-06-16 21:52:25 +0000 |
commit | bd4a9d25bfc5526c1dc22cedad6e044a1579d769 (patch) | |
tree | b169fe717762d85714d50f4af06dc0aed730d039 /libao2/audio_out.h | |
parent | 19a3207d8db31c377656e6d8d8fb522c74831d03 (diff) | |
download | mpv-bd4a9d25bfc5526c1dc22cedad6e044a1579d769.tar.bz2 mpv-bd4a9d25bfc5526c1dc22cedad6e044a1579d769.tar.xz |
Rewrite audio EOF handling logic fixing some problems that could cause
truncation of output, set flag AOPLAY_FINAL_CHUNK in play call to tell
ao there will be no more data beyond what's in current buffer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18738 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2/audio_out.h')
-rw-r--r-- | libao2/audio_out.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libao2/audio_out.h b/libao2/audio_out.h index 095b020247..e5ae6b4e59 100644 --- a/libao2/audio_out.h +++ b/libao2/audio_out.h @@ -65,6 +65,8 @@ extern ao_functions_t* audio_out_drivers[]; #define AOCONTROL_SET_PLUGIN_DRIVER 6 #define AOCONTROL_SET_PLUGIN_LIST 7 +#define AOPLAY_FINAL_CHUNK 1 + typedef struct ao_control_vol_s { float left; float right; |