Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
872c154d
Commit
872c154d
authored
Jul 11, 2013
by
Tristan Matthews
Browse files
* #27196: pulse: pass structs by const reference
parent
ea83d8c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
daemon/src/audio/pulseaudio/pulselayer.h
View file @
872c154d
...
...
@@ -54,7 +54,7 @@ typedef struct PaDeviceInfos {
pa_sample_spec
sample_spec
;
pa_channel_map
channel_map
;
PaDeviceInfos
(
unsigned
idx
,
const
char
*
ep_name
,
pa_sample_spec
samp_spec
,
pa_channel_map
chan_map
)
PaDeviceInfos
(
unsigned
idx
,
const
char
*
ep_name
,
const
pa_sample_spec
&
samp_spec
,
const
pa_channel_map
&
chan_map
)
:
index
(
idx
),
name
(
ep_name
),
sample_spec
(
samp_spec
),
channel_map
(
chan_map
)
{}
virtual
~
PaDeviceInfos
()
{}
...
...
Write
Preview
Supports
Markdown
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