summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-02 21:19:16 +0200
committerwm4 <wm4@nowhere>2013-10-02 21:19:16 +0200
commitef9c5300ef02427db606273ac1f461a68c6c95ec (patch)
tree2a9dcf87ac7e03e1f8aa5e9b25349e21a780dba6 /audio
parent93b712fa8ab56217da2e8a5317891f4d0df1838f (diff)
downloadmpv-ef9c5300ef02427db606273ac1f461a68c6c95ec.tar.bz2
mpv-ef9c5300ef02427db606273ac1f461a68c6c95ec.tar.xz
cosmetics: replace "CTRL" defines by enums
Because why not.
Diffstat (limited to 'audio')
-rw-r--r--audio/decode/ad.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/decode/ad.h b/audio/decode/ad.h
index 1d9ac13e35..30e739d135 100644
--- a/audio/decode/ad.h
+++ b/audio/decode/ad.h
@@ -39,6 +39,8 @@ struct ad_functions {
int maxlen);
};
-#define ADCTRL_RESYNC_STREAM 1 // resync, called after seeking
+enum ad_ctrl {
+ ADCTRL_RESYNC_STREAM = 1, // resync, called after seeking
+};
#endif /* MPLAYER_AD_H */