pcm: use nullptr instead of NULL
This commit is contained in:
parent
d79b6cd8dc
commit
37d6cc07a7
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user