2
/***************************************************************************
3
audioeng_vorbish - description
7
copyright : (C) 2002-4 by mean
8
email : fixounet@free.fr
9
***************************************************************************/
11
/***************************************************************************
13
* This program is free software; you can redistribute it and/or modify *
14
* it under the terms of the GNU General Public License as published by *
15
* the Free Software Foundation; either version 2 of the License, or *
16
* (at your option) any later version. *
18
***************************************************************************/
19
#ifndef ADMaudioVorbis
20
#define ADMaudioVorbis
22
//_____________________________________________
23
class AVDMProcessAudio_Vorbis : public AVDMBufferedAudioStream
27
uint32_t _incoming_frame;
28
uint32_t grab(uint8_t *obuffer);
30
uint8_t dropBuffer[SIZE_INTERNAL];
36
uint8_t init( uint32_t bitrate);
37
virtual ~AVDMProcessAudio_Vorbis();
38
AVDMProcessAudio_Vorbis(AVDMGenericAudioStream *instream);
39
virtual uint8_t getPacket(uint8_t *dest, uint32_t *len, uint32_t *samples);
40
virtual uint8_t extraData(uint32_t *l,uint8_t **d);
2
/***************************************************************************
3
audioeng_vorbish - description
7
copyright : (C) 2002-4 by mean
8
email : fixounet@free.fr
9
***************************************************************************/
11
/***************************************************************************
13
* This program is free software; you can redistribute it and/or modify *
14
* it under the terms of the GNU General Public License as published by *
15
* the Free Software Foundation; either version 2 of the License, or *
16
* (at your option) any later version. *
18
***************************************************************************/
19
#ifndef ADMaudioVorbis
20
#define ADMaudioVorbis
22
//_____________________________________________
23
class AVDMProcessAudio_Vorbis : public AVDMBufferedAudioStream
27
uint32_t _incoming_frame;
28
uint32_t grab(uint8_t *obuffer);
30
uint8_t dropBuffer[SIZE_INTERNAL];
36
uint8_t init( uint32_t bitrate);
37
virtual ~AVDMProcessAudio_Vorbis();
38
AVDMProcessAudio_Vorbis(AVDMGenericAudioStream *instream);
39
virtual uint8_t getPacket(uint8_t *dest, uint32_t *len, uint32_t *samples);
40
virtual uint8_t extraData(uint32_t *l,uint8_t **d);