Search code examples
gstreamerpcmoggvorbis

Playing raw PCM held in an array with GStreamer


I am working in C++ with ogg/vorbis

I have an array with raw PCM data decoded from a vorbis file (.ogg). The .ogg file has been decoded using libvorbis using vorbis_synthesis_pcmout. This fills a multidimentional array with the raw PCM for each channel.

I'm sure Gstreamer is capable of reading pure PCM, I have searched for the pluginto but to no avail. I'm sure I am just overlooking something simple here.


Solution

  • You might be looking for appsrc .