git-svn-id: svn://elaine/murooma/trunk@280 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
(no author) 2014-09-20 20:39:56 +00:00
parent 76557f091c
commit 5242c17e3b
2 changed files with 0 additions and 11 deletions

View file

@ -31,7 +31,6 @@ void Controller::onMessageReceived(ClientConnection* connection, const BaseMessa
{ {
if ((stream != NULL) && (decoder != NULL)) if ((stream != NULL) && (decoder != NULL))
{ {
cout << ".";
PcmChunk* pcmChunk = new PcmChunk(*sampleFormat, 0); PcmChunk* pcmChunk = new PcmChunk(*sampleFormat, 0);
pcmChunk->deserialize(baseMessage, buffer); pcmChunk->deserialize(baseMessage, buffer);
//cout << "chunk: " << pcmChunk->payloadSize; //cout << "chunk: " << pcmChunk->payloadSize;

View file

@ -18,23 +18,13 @@ OggDecoder::OggDecoder() : Decoder(), buffer(NULL)
OggDecoder::~OggDecoder() OggDecoder::~OggDecoder()
{ {
// ogg_sync_init(&oy); /* Now we can read pages */
free(convbuffer); free(convbuffer);
// if (buffer != NULL)
// free(buffer);
cout << "1\n" << flush;
vorbis_block_clear(&vb); vorbis_block_clear(&vb);
cout << "2\n" << flush;
vorbis_dsp_clear(&vd); vorbis_dsp_clear(&vd);
cout << "3\n" << flush;
ogg_stream_clear(&os); ogg_stream_clear(&os);
cout << "4\n" << flush;
vorbis_comment_clear(&vc); vorbis_comment_clear(&vc);
cout << "5\n" << flush;
vorbis_info_clear(&vi); /* must be called last */ vorbis_info_clear(&vi); /* must be called last */
cout << "6\n" << flush;
ogg_sync_clear(&oy); ogg_sync_clear(&oy);
cout << "7\n" << flush;
} }