Commit 37d6cc07 authored by Max Kellermann's avatar Max Kellermann

pcm: use nullptr instead of NULL

parent d79b6cd8
......@@ -73,9 +73,9 @@ public:
* @param src_size the size of #src in bytes
* @param dest_format the requested destination audio format
* @param dest_size_r returns the number of bytes of the destination buffer
* @param error_r location to store the error occurring, or NULL to
* @param error_r location to store the error occurring, or nullptr to
* ignore errors
* @return the destination buffer, or NULL on error
* @return the destination buffer, or nullptr on error
*/
const void *Convert(const void *src, size_t src_size,
size_t *dest_size_r,
......
......@@ -45,7 +45,7 @@ pcm_dsd_to_usb(PcmBuffer &buffer, unsigned channels,
size_t *dest_size_r)
{
assert(audio_valid_channel_count(channels));
assert(src != NULL);
assert(src != nullptr);
assert(src_size > 0);
assert(src_size % channels == 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment