Displaying 1 result from an estimated 1 matches for "commentheadercont".
2015 Oct 17
1
Why does this code not generate a valid opus file?
...eginning_of_stream
header.e_o_s = 0;
header.granulepos = -1; //This packet does not contain audio data, so granule-position = -1
header.packetno = 0;
ogg_stream_packetin(&os,&header);
//**************
//Create the comments header
struct OggCommentHeader commentHeaderContent = {
{'O', 'p', 'u', 's', 'T', 'a', 'g', 's'},
0, //We do not support a vandor string in this implementation.
0 //We do not support any user comments in this implementation.
};
ogg_packet header_c...