'Stream audio from audionode using gstreamer

I am trying to stream live audio data from alsasrc to sound card via ALSA. When I tried to stream .wav audio data, it got streamed properly. But, when I tried to stream .dts audio data, I did not get the stream properly, I got noise instead. When I recorded the .dts audio in a file using filesink, it got played properly from the file.

The command which I used to stream .wav and .dts data is:

gst-launch-1.0 alsasrc device=..... ! decodebin ! audioconvert ! alsasink device=...

For, .wav audio I got the stream properly but, for .dts audio I got noise.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source