aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer/MixerPlugin.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-06 20:44:33 +0100
committerMax Kellermann <max@duempel.org>2014-02-06 20:52:33 +0100
commitb6df4680df08db7827af56d5adf2a04264f2dcb9 (patch)
tree310e0e9305cdf1e5ef6da56c2f60af15c3774cb6 /src/mixer/MixerPlugin.hxx
parente04090b477a6ec3c18b43250cf2ea37985057455 (diff)
downloadmpd-b6df4680df08db7827af56d5adf2a04264f2dcb9.tar.gz
mpd-b6df4680df08db7827af56d5adf2a04264f2dcb9.tar.xz
mpd-b6df4680df08db7827af56d5adf2a04264f2dcb9.zip
MixerPlugin: convert function pointers to Mixer virtual methods
Diffstat (limited to '')
-rw-r--r--src/mixer/MixerPlugin.hxx40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/mixer/MixerPlugin.hxx b/src/mixer/MixerPlugin.hxx
index d342ba1a7..27e59accf 100644
--- a/src/mixer/MixerPlugin.hxx
+++ b/src/mixer/MixerPlugin.hxx
@@ -47,46 +47,6 @@ struct MixerPlugin {
Error &error);
/**
- * Finish and free mixer data
- */
- void (*finish)(Mixer *data);
-
- /**
- * Open mixer device
- *
- * @param error_r location to store the error occurring, or
- * nullptr to ignore errors
- * @return true on success, false on error
- */
- bool (*open)(Mixer *data, Error &error);
-
- /**
- * Close mixer device
- */
- void (*close)(Mixer *data);
-
- /**
- * Reads the current volume.
- *
- * @param error_r location to store the error occurring, or
- * nullptr to ignore errors
- * @return the current volume (0..100 including) or -1 if
- * unavailable or on error (error set, mixer will be closed)
- */
- int (*get_volume)(Mixer *mixer, Error &error);
-
- /**
- * Sets the volume.
- *
- * @param error_r location to store the error occurring, or
- * nullptr to ignore errors
- * @param volume the new volume (0..100 including)
- * @return true on success, false on error
- */
- bool (*set_volume)(Mixer *mixer, unsigned volume,
- Error &error);
-
- /**
* If true, then the mixer is automatically opened, even if
* its audio output is not open. If false, then the mixer is
* disabled as long as its audio output is closed.