mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-02 02:41:49 +02:00
ogg
git-svn-id: svn://elaine/murooma/trunk@224 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
d82fbae3e9
commit
77856ac910
2 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@ using namespace std;
|
||||||
OggDecoder::OggDecoder()
|
OggDecoder::OggDecoder()
|
||||||
{
|
{
|
||||||
ogg_sync_init(&oy); /* Now we can read pages */
|
ogg_sync_init(&oy); /* Now we can read pages */
|
||||||
|
convsize = 4096;
|
||||||
convbuffer = (ogg_int16_t*)malloc(convsize * sizeof(ogg_int16_t));
|
convbuffer = (ogg_int16_t*)malloc(convsize * sizeof(ogg_int16_t));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ private:
|
||||||
vorbis_block vb; /* local working space for packet->PCM decode */
|
vorbis_block vb; /* local working space for packet->PCM decode */
|
||||||
|
|
||||||
ogg_int16_t* convbuffer; /* take 8k out of the data segment, not the stack */
|
ogg_int16_t* convbuffer; /* take 8k out of the data segment, not the stack */
|
||||||
int convsize=4096;
|
int convsize;
|
||||||
|
|
||||||
char *buffer;
|
char *buffer;
|
||||||
int bytes;
|
int bytes;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue