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++