Update README

This commit is contained in:
Jonas Kvinge
2018-05-07 21:32:40 +02:00
parent 3e3c73ee90
commit f329b7239a
2 changed files with 2 additions and 9 deletions

View File

@@ -335,11 +335,6 @@ bool GstEnginePipeline::InitAudioBin() {
gst_element_link_many(rgvolume_, rglimiter_, audioconvert2_, tee, nullptr);
}
// Link the analyzer output of the tee and force 16 bit caps
//GstCaps* caps16 = gst_caps_new_simple("audio/x-raw", "format", G_TYPE_STRING, "S16LE", NULL);
//gst_element_link_filtered(probe_queue, probe_converter, caps16);
//gst_caps_unref(caps16);
// Don't force 16 bit.
gst_element_link(probe_queue, probe_converter);
@@ -347,7 +342,6 @@ bool GstEnginePipeline::InitAudioBin() {
else gst_element_link_many(audio_queue, volume_, audioscale_, convert, nullptr);
// Let the audio output of the tee autonegotiate the bit depth and format.
//GstCaps *caps = gst_caps_new_simple("audio/x-raw", "format", G_TYPE_STRING, "F32LE", NULL);
GstCaps *caps = gst_caps_new_empty_simple("audio/x-raw");
gst_element_link_filtered(convert, audiosink_, caps);