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
82f336a7
Commit
82f336a7
authored
Aug 24, 2011
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output/raop: remove excessive debug messages
parent
350aa330
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
9 deletions
+0
-9
raop_mixer_plugin.c
src/mixer/raop_mixer_plugin.c
+0
-1
raop_output_plugin.c
src/output/raop_output_plugin.c
+0
-8
No files found.
src/mixer/raop_mixer_plugin.c
View file @
82f336a7
...
@@ -66,7 +66,6 @@ static bool
...
@@ -66,7 +66,6 @@ static bool
raop_mixer_set_volume
(
struct
mixer
*
mixer
,
unsigned
volume
,
GError
**
error_r
)
raop_mixer_set_volume
(
struct
mixer
*
mixer
,
unsigned
volume
,
GError
**
error_r
)
{
{
struct
raop_mixer_plugin
*
rm
=
(
struct
raop_mixer_plugin
*
)
mixer
;
struct
raop_mixer_plugin
*
rm
=
(
struct
raop_mixer_plugin
*
)
mixer
;
g_debug
(
"raop_mixer_set_volume
\n
"
);
return
raop_set_volume
(
rm
->
rd
,
volume
,
error_r
);
return
raop_set_volume
(
rm
->
rd
,
volume
,
error_r
);
}
}
...
...
src/output/raop_output_plugin.c
View file @
82f336a7
...
@@ -168,9 +168,7 @@ static char *
...
@@ -168,9 +168,7 @@ static char *
kd_lookup
(
struct
key_data
*
kd
,
const
char
*
key
)
kd_lookup
(
struct
key_data
*
kd
,
const
char
*
key
)
{
{
while
(
kd
)
{
while
(
kd
)
{
g_debug
(
"checking key %s %s
\n
"
,
kd
->
key
,
key
);
if
(
!
strcmp
(
kd
->
key
,
key
))
{
if
(
!
strcmp
(
kd
->
key
,
key
))
{
g_debug
(
"found %s
\n
"
,
kd
->
data
);
return
kd
->
data
;
return
kd
->
data
;
}
}
kd
=
kd
->
next
;
kd
=
kd
->
next
;
...
@@ -602,8 +600,6 @@ exec_request(struct rtspcl_data *rtspcld, const char *cmd,
...
@@ -602,8 +600,6 @@ exec_request(struct rtspcl_data *rtspcld, const char *cmd,
return
false
;
return
false
;
}
}
g_debug
(
"sent %s"
,
req
);
if
(
!
get_response
)
return
true
;
if
(
!
get_response
)
return
true
;
while
(
true
)
{
while
(
true
)
{
...
@@ -625,7 +621,6 @@ exec_request(struct rtspcl_data *rtspcld, const char *cmd,
...
@@ -625,7 +621,6 @@ exec_request(struct rtspcl_data *rtspcld, const char *cmd,
"request failed"
);
"request failed"
);
return
false
;
return
false
;
}
}
g_debug
(
"received %s"
,
line
);
token
=
strtok
(
line
,
delimiters
);
token
=
strtok
(
line
,
delimiters
);
token
=
strtok
(
NULL
,
delimiters
);
token
=
strtok
(
NULL
,
delimiters
);
...
@@ -644,7 +639,6 @@ exec_request(struct rtspcl_data *rtspcld, const char *cmd,
...
@@ -644,7 +639,6 @@ exec_request(struct rtspcl_data *rtspcld, const char *cmd,
i
=
0
;
i
=
0
;
while
(
read_line
(
rtspcld
->
fd
,
line
,
sizeof
(
line
),
timeout
,
0
)
>
0
)
{
while
(
read_line
(
rtspcld
->
fd
,
line
,
sizeof
(
line
),
timeout
,
0
)
>
0
)
{
struct
key_data
*
new_kd
=
NULL
;
struct
key_data
*
new_kd
=
NULL
;
g_debug
(
"%s -
\n
"
,
line
);
timeout
=
1000
;
// once it started, it shouldn't take a long time
timeout
=
1000
;
// once it started, it shouldn't take a long time
if
(
i
&&
line
[
0
]
==
' '
)
{
if
(
i
&&
line
[
0
]
==
' '
)
{
for
(
j
=
0
;
j
<
strlen
(
line
);
j
++
)
if
(
line
[
j
]
!=
' '
)
break
;
for
(
j
=
0
;
j
<
strlen
(
line
);
j
++
)
if
(
line
[
j
]
!=
' '
)
break
;
...
@@ -1185,7 +1179,6 @@ send_audio_data(int fd, GError **error_r)
...
@@ -1185,7 +1179,6 @@ send_audio_data(int fd, GError **error_r)
raop_session
->
wblk_wsize
+=
i
;
raop_session
->
wblk_wsize
+=
i
;
raop_session
->
wblk_remsize
-=
i
;
raop_session
->
wblk_remsize
-=
i
;
//g_debug("%d bytes are sent, remaining size=%d\n",i,rd->wblk_remsize);
return
true
;
return
true
;
}
}
...
@@ -1373,7 +1366,6 @@ raop_output_open(void *data, struct audio_format *audio_format, GError **error_r
...
@@ -1373,7 +1366,6 @@ raop_output_open(void *data, struct audio_format *audio_format, GError **error_r
g_mutex_unlock
(
raop_session
->
list_mutex
);
g_mutex_unlock
(
raop_session
->
list_mutex
);
audio_format
->
format
=
SAMPLE_FORMAT_S16
;
audio_format
->
format
=
SAMPLE_FORMAT_S16
;
g_debug
(
"raop_openDevice %s %d
\n
"
,
rd
->
addr
,
rd
->
rtsp_port
);
if
(
!
raopcl_connect
(
rd
,
error_r
))
if
(
!
raopcl_connect
(
rd
,
error_r
))
return
false
;
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