diff options
Diffstat (limited to 'src/MixerPlugin.hxx')
-rw-r--r-- | src/MixerPlugin.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/MixerPlugin.hxx b/src/MixerPlugin.hxx index 4dd8969b9..db6fb2471 100644 --- a/src/MixerPlugin.hxx +++ b/src/MixerPlugin.hxx @@ -38,8 +38,8 @@ struct mixer_plugin { * @param ao the pointer returned by audio_output_plugin.init * @param param the configuration section * @param error_r location to store the error occurring, or - * NULL to ignore errors - * @return a mixer object, or NULL on error + * nullptr to ignore errors + * @return a mixer object, or nullptr on error */ Mixer *(*init)(void *ao, const config_param ¶m, Error &error); @@ -53,7 +53,7 @@ struct mixer_plugin { * Open mixer device * * @param error_r location to store the error occurring, or - * NULL to ignore errors + * nullptr to ignore errors * @return true on success, false on error */ bool (*open)(Mixer *data, Error &error); @@ -67,7 +67,7 @@ struct mixer_plugin { * Reads the current volume. * * @param error_r location to store the error occurring, or - * NULL to ignore errors + * nullptr to ignore errors * @return the current volume (0..100 including) or -1 if * unavailable or on error (error set, mixer will be closed) */ @@ -77,7 +77,7 @@ struct mixer_plugin { * Sets the volume. * * @param error_r location to store the error occurring, or - * NULL to ignore errors + * nullptr to ignore errors * @param volume the new volume (0..100 including) * @return true on success, false on error */ |