From 59f8144c50765189594d5932fc25869f9ea6e265 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 19 Oct 2013 18:19:03 +0200 Subject: *: use nullptr instead of NULL --- src/MixerPlugin.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/MixerPlugin.hxx') 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 */ -- cgit v1.2.3