diff options
Diffstat (limited to 'src/pulseutil.c')
-rw-r--r-- | src/pulseutil.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pulseutil.c b/src/pulseutil.c index 36a2168..61aed61 100644 --- a/src/pulseutil.c +++ b/src/pulseutil.c @@ -58,6 +58,10 @@ gboolean gst_pulse_fill_sample_spec(GstRingBufferSpec *spec, pa_sample_spec *ss) ss->format = PA_SAMPLE_FLOAT32LE; else if (spec->format == GST_FLOAT32_BE && spec->width == 32) ss->format = PA_SAMPLE_FLOAT32BE; + else if (spec->format == GST_S32_LE && spec->width == 32) + ss->format = PA_SAMPLE_S32LE; + else if (spec->format == GST_S32_BE && spec->width == 32) + ss->format = PA_SAMPLE_S32NE; else return FALSE; |