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
cfe2dd41
Commit
cfe2dd41
authored
3 years ago
by
Rosen Penev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use nullptr
Signed-off-by:
Rosen Penev
<
rosenp@gmail.com
>
parent
a8c77a6f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
PipeWireOutputPlugin.cxx
src/output/plugins/PipeWireOutputPlugin.cxx
+2
-2
No files found.
src/output/plugins/PipeWireOutputPlugin.cxx
View file @
cfe2dd41
...
@@ -153,7 +153,7 @@ class PipeWireOutput final : AudioOutput {
...
@@ -153,7 +153,7 @@ class PipeWireOutput final : AudioOutput {
public
:
public
:
static
AudioOutput
*
Create
(
EventLoop
&
,
static
AudioOutput
*
Create
(
EventLoop
&
,
const
ConfigBlock
&
block
)
{
const
ConfigBlock
&
block
)
{
pw_init
(
0
,
nullptr
);
pw_init
(
nullptr
,
nullptr
);
return
new
PipeWireOutput
(
block
);
return
new
PipeWireOutput
(
block
);
}
}
...
@@ -250,7 +250,7 @@ private:
...
@@ -250,7 +250,7 @@ private:
uint32_t
id
,
uint32_t
id
,
const
struct
spa_pod
*
param
)
noexcept
const
struct
spa_pod
*
param
)
noexcept
{
{
if
(
id
!=
SPA_PARAM_Format
||
param
==
NULL
)
if
(
id
!=
SPA_PARAM_Format
||
param
==
nullptr
)
return
;
return
;
auto
&
o
=
*
(
PipeWireOutput
*
)
data
;
auto
&
o
=
*
(
PipeWireOutput
*
)
data
;
...
...
This diff is collapsed.
Click to expand it.
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