Multiple byte buffers of audio stream write to a single file separately [C++]

  audio-streaming, buffer, c++, file, multimedia

I want to write a special file where I will keep multiple byte buffers separately without mixing each other as raw as captured from a respective sources.

Please suggest me some references which will guide me to write such file.

Note that, I am trying to implement it using C/C++.

here is something I was expecting to do.

A special file X.dat:

sources: [
{
   name: 
   network_info:
   hardware_info:
   stream_header: { codec: "". size: "", pitch: "", index: X ......}
   data: <audio_stream> in byte
},
{
   name: 
   network_info:
   hardware_info:
   stream_header: { codec: "". size: "", pitch: "", index: X ......}
   data: <audio_stream> in byte
},
{
   name: 
   network_info:
   hardware_info:
   stream_header: { codec: "". size: "", pitch: "", index: X ......}
   data: <audio_stream> in byte
}]
,
extra: {
   key1: value 1
   Key2: value 2
}

Source: Windows Questions C++

LEAVE A COMMENT