Added vorbis functionality
This commit is contained in:
parent
ed7de50138
commit
37df1716de
3 changed files with 52 additions and 2 deletions
16
lib/vorbis.h
Normal file
16
lib/vorbis.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
#pragma once
|
||||
#include<sys/types.h>
|
||||
#include<stdint.h>
|
||||
#include<string>
|
||||
|
||||
namespace vorbis{
|
||||
class header{
|
||||
public:
|
||||
header();
|
||||
bool read(char* newData, unsigned int length);
|
||||
private:
|
||||
char* data;
|
||||
unsigned int datasize;
|
||||
bool checkDataSize(unsigned int size);
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue