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
350aa330
Commit
350aa330
authored
Aug 24, 2011
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output/raop: consistently use GError
parent
d6290a2f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
raop_mixer_plugin.c
src/mixer/raop_mixer_plugin.c
+2
-2
raop_output_plugin.c
src/output/raop_output_plugin.c
+0
-0
raop_output_plugin.h
src/output/raop_output_plugin.h
+1
-1
read_mixer.c
test/read_mixer.c
+2
-1
No files found.
src/mixer/raop_mixer_plugin.c
View file @
350aa330
...
...
@@ -63,11 +63,11 @@ raop_mixer_get_volume(struct mixer *mixer, G_GNUC_UNUSED GError **error_r)
}
static
bool
raop_mixer_set_volume
(
struct
mixer
*
mixer
,
unsigned
volume
,
G
_GNUC_UNUSED
G
Error
**
error_r
)
raop_mixer_set_volume
(
struct
mixer
*
mixer
,
unsigned
volume
,
GError
**
error_r
)
{
struct
raop_mixer_plugin
*
rm
=
(
struct
raop_mixer_plugin
*
)
mixer
;
g_debug
(
"raop_mixer_set_volume
\n
"
);
return
raop_set_volume
(
rm
->
rd
,
volume
);
return
raop_set_volume
(
rm
->
rd
,
volume
,
error_r
);
}
const
struct
mixer_plugin
raop_mixer_plugin
=
{
...
...
src/output/raop_output_plugin.c
View file @
350aa330
This diff is collapsed.
Click to expand it.
src/output/raop_output_plugin.h
View file @
350aa330
...
...
@@ -155,7 +155,7 @@ struct raop_session_data {
/*********************************************************************/
bool
raop_set_volume
(
struct
raop_data
*
rd
,
unsigned
volume
);
raop_set_volume
(
struct
raop_data
*
rd
,
unsigned
volume
,
GError
**
error_r
);
int
raop_get_volume
(
struct
raop_data
*
rd
);
...
...
test/read_mixer.c
View file @
350aa330
...
...
@@ -60,7 +60,8 @@ pulse_output_set_volume(G_GNUC_UNUSED struct pulse_output *po,
bool
raop_set_volume
(
G_GNUC_UNUSED
struct
raop_data
*
rd
,
G_GNUC_UNUSED
unsigned
volume
)
G_GNUC_UNUSED
unsigned
volume
,
G_GNUC_UNUSED
GError
**
error_r
)
{
return
false
;
}
...
...
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