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
614fe8b3
Commit
614fe8b3
authored
Mar 01, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output: removed duplicate debug messages from plugins
The MPD core logs the audio format of all audio outputs. Remove the duplicate message from the plugins.
parent
e1b79479
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
16 deletions
+0
-16
alsa_plugin.c
src/output/alsa_plugin.c
+0
-4
jack_plugin.c
src/output/jack_plugin.c
+0
-1
oss_plugin.c
src/output/oss_plugin.c
+0
-5
pulse_plugin.c
src/output/pulse_plugin.c
+0
-6
No files found.
src/output/alsa_plugin.c
View file @
614fe8b3
...
...
@@ -408,10 +408,6 @@ alsa_open(void *data, struct audio_format *audio_format, GError **error)
ad
->
frame_size
=
audio_format_frame_size
(
audio_format
);
g_debug
(
"ALSA device
\"
%s
\"
will be playing %i bit, %u channel audio at %u Hz
\n
"
,
alsa_device
(
ad
),
audio_format
->
bits
,
audio_format
->
channels
,
audio_format
->
sample_rate
);
return
true
;
}
...
...
src/output/jack_plugin.c
View file @
614fe8b3
...
...
@@ -144,7 +144,6 @@ static void
set_audioformat
(
struct
jack_data
*
jd
,
struct
audio_format
*
audio_format
)
{
audio_format
->
sample_rate
=
jack_get_sample_rate
(
jd
->
client
);
g_debug
(
"samplerate = %u"
,
audio_format
->
sample_rate
);
audio_format
->
channels
=
2
;
if
(
audio_format
->
bits
!=
16
&&
audio_format
->
bits
!=
24
)
...
...
src/output/oss_plugin.c
View file @
614fe8b3
...
...
@@ -563,11 +563,6 @@ oss_output_open(void *data, struct audio_format *audio_format, GError **error)
*
audio_format
=
od
->
audio_format
;
g_debug
(
"device
\"
%s
\"
will be playing %u bit %u channel audio at "
"%u Hz
\n
"
,
od
->
device
,
od
->
audio_format
.
bits
,
od
->
audio_format
.
channels
,
od
->
audio_format
.
sample_rate
);
mixer_open
(
od
->
mixer
);
return
ret
;
...
...
src/output/pulse_plugin.c
View file @
614fe8b3
...
...
@@ -132,12 +132,6 @@ pulse_open(void *data, struct audio_format *audio_format, GError **error_r)
return
false
;
}
g_debug
(
"PulseAudio output
\"
%s
\"
connected and playing %i bit, %i "
"channel audio at %i Hz
\n
"
,
pd
->
name
,
audio_format
->
bits
,
audio_format
->
channels
,
audio_format
->
sample_rate
);
return
true
;
}
...
...
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