summaryrefslogtreecommitdiffstats
path: root/ext/pulse/pulseutil.h
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-08-20 17:17:55 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-08-20 17:17:55 +0000
commit4ab89b397e32c041fd8174071a7686b8547643d0 (patch)
treefa7ad90554168289ea1d570b6c40ed3a5d5fc072 /ext/pulse/pulseutil.h
parent74314914704609541ca0da9bf1f52469ea5e1079 (diff)
ext/pulse/: If downstream provides no channel layout and >2 channels should be used use the default layout that pulse...
Original commit message from CVS: * ext/pulse/pulsesrc.c: (gst_pulsesrc_class_init), (gst_pulsesrc_create_stream), (gst_pulsesrc_negotiate), (gst_pulsesrc_prepare): * ext/pulse/pulseutil.c: (gst_pulse_gst_to_channel_map), (gst_pulse_channel_map_to_gst): * ext/pulse/pulseutil.h: If downstream provides no channel layout and >2 channels should be used use the default layout that pulseaudio chooses and also add this layout to the caps. Fixes bug #547258.
Diffstat (limited to 'ext/pulse/pulseutil.h')
-rw-r--r--ext/pulse/pulseutil.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pulse/pulseutil.h b/ext/pulse/pulseutil.h
index f4689849..8700a979 100644
--- a/ext/pulse/pulseutil.h
+++ b/ext/pulse/pulseutil.h
@@ -32,6 +32,9 @@ gboolean gst_pulse_fill_sample_spec (GstRingBufferSpec * spec,
gchar *gst_pulse_client_name (void);
pa_channel_map *gst_pulse_gst_to_channel_map (pa_channel_map * map,
+ const GstRingBufferSpec * spec);
+
+GstRingBufferSpec *gst_pulse_channel_map_to_gst (const pa_channel_map * map,
GstRingBufferSpec * spec);
#endif