diff options
author | Uoti Urpala <uau@mplayer2.org> | 2012-01-21 09:28:07 +0200 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-03-20 14:51:32 +0200 |
commit | ec58e5a3848f82681839eaa15d2c6912d92e74ed (patch) | |
tree | 82bd6ea3411d9c2c5fcd18b9d4cb3f166db57ee3 /mixer.h | |
parent | 7a699cea2849b2ef3f0a7a0702b74c33327ef8a9 (diff) | |
download | mpv-ec58e5a3848f82681839eaa15d2c6912d92e74ed.tar.bz2 mpv-ec58e5a3848f82681839eaa15d2c6912d92e74ed.tar.xz |
options: move mixer.h options to struct
Diffstat (limited to 'mixer.h')
-rw-r--r-- | mixer.h | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -19,18 +19,17 @@ #ifndef MPLAYER_MIXER_H #define MPLAYER_MIXER_H +#include <stdbool.h> + #include "libaf/af.h" #include "libao2/audio_out.h" -extern char * mixer_device; -extern char * mixer_channel; -extern int soft_vol; -extern float soft_vol_max; - typedef struct mixer { struct ao *ao; af_stream_t *afilter; int volstep; + bool softvol; + float softvol_max; int muted; float last_l, last_r; } mixer_t; |