Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
37d6cc07
Commit
37d6cc07
authored
Jul 30, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pcm: use nullptr instead of NULL
parent
d79b6cd8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
PcmConvert.hxx
src/pcm/PcmConvert.hxx
+2
-2
PcmDsdUsb.cxx
src/pcm/PcmDsdUsb.cxx
+1
-1
No files found.
src/pcm/PcmConvert.hxx
View file @
37d6cc07
...
...
@@ -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
,
...
...
src/pcm/PcmDsdUsb.cxx
View file @
37d6cc07
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment