summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-04-08 13:52:00 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2009-04-09 17:26:20 +0200
commit28d733d53b241a0c4a80b30f32e70b4750adf573 (patch)
tree92cfac1e5ec8c3fa6914474ad55c35cf0f22cc46
parente14bae663757d11417302246004fb7fba1f2c1d9 (diff)
pulse: remove some stray debug lines
-rw-r--r--ext/pulse/pulseutil.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/pulse/pulseutil.c b/ext/pulse/pulseutil.c
index 6efcf849..169c55b7 100644
--- a/ext/pulse/pulseutil.c
+++ b/ext/pulse/pulseutil.c
@@ -123,7 +123,6 @@ gst_pulse_gst_to_channel_map (pa_channel_map * map,
const GstRingBufferSpec * spec)
{
int i;
-
GstAudioChannelPosition *pos;
pa_channel_map_init (map);
@@ -131,14 +130,10 @@ gst_pulse_gst_to_channel_map (pa_channel_map * map,
if (!(pos =
gst_audio_get_channel_positions (gst_caps_get_structure (spec->caps,
0)))) {
-/* g_debug("%s: No channel positions!\n", G_STRFUNC); */
return NULL;
}
-/* g_debug("%s: Got channel positions:\n", G_STRFUNC); */
-
for (i = 0; i < spec->channels; i++) {
-
if (pos[i] == GST_AUDIO_CHANNEL_POSITION_NONE) {
/* no valid mappings for these channels */
g_free (pos);
@@ -147,15 +142,12 @@ gst_pulse_gst_to_channel_map (pa_channel_map * map,
map->map[i] = gst_pos_to_pa[pos[i]];
else
map->map[i] = PA_CHANNEL_POSITION_INVALID;
-
- /*g_debug(" channel %d: gst: %d pulse: %d\n", i, pos[i], map->map[i]); */
}
g_free (pos);
map->channels = spec->channels;
if (!pa_channel_map_valid (map)) {
-/* g_debug("generated invalid map!\n"); */
return NULL;
}