Added extra needed functions to ogg lib
This commit is contained in:
parent
c3d116d3db
commit
5d85548360
2 changed files with 40 additions and 7 deletions
13
lib/ogg.h
13
lib/ogg.h
|
@ -40,13 +40,16 @@ namespace OGG{
|
|||
bool typeNone();
|
||||
std::string toPrettyString(size_t indent = 0);
|
||||
void setInternalCodec(std::string myCodec);
|
||||
long unsigned int calcChecksum();
|
||||
void clear();
|
||||
|
||||
bool setPayload(char* newData, unsigned int length);
|
||||
private:
|
||||
std::deque<unsigned int> segmentTableDeque;
|
||||
long unsigned int calcChecksum();
|
||||
char* data;
|
||||
unsigned int datasize;
|
||||
unsigned int dataSum;
|
||||
char* data;//pointer to the beginning of the Page data
|
||||
unsigned int datasize;//size of the complete page
|
||||
unsigned int dataSum;//size of the total segments
|
||||
bool checkDataSize(unsigned int size);
|
||||
std::string codec;
|
||||
std::string codec;//codec in the page
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue