summaryrefslogtreecommitdiffstats
path: root/audio/audio.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-04 23:57:25 +0200
committerwm4 <wm4@nowhere>2015-05-04 23:57:25 +0200
commit1b0b094ca2c25ad162f8f8c84ebebef9a963552e (patch)
tree20106f81ea6eab12b5d20bd680475a382599bc7e /audio/audio.h
parent937c8e513f7b948fff0746e80ecf3d27d7007abe (diff)
downloadmpv-1b0b094ca2c25ad162f8f8c84ebebef9a963552e.tar.bz2
mpv-1b0b094ca2c25ad162f8f8c84ebebef9a963552e.tar.xz
audio: introduce mp_audio readonly bit
Convenience for the following commit.
Diffstat (limited to 'audio/audio.h')
-rw-r--r--audio/audio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/audio.h b/audio/audio.h
index cbcd87cc46..a633a15b4d 100644
--- a/audio/audio.h
+++ b/audio/audio.h
@@ -38,6 +38,7 @@ struct mp_audio {
int bps; // size of sub-samples (af_fmt2bps(format))
// private
+ bool readonly;
struct AVBufferRef *allocated[MP_NUM_CHANNELS];
};