~ubuntu-branches/ubuntu/feisty/avidemux/feisty

« back to all changes in this revision

Viewing changes to avidemux/ADM_audiofilter/audioeng_vorbis.h

  • Committer: Bazaar Package Importer
  • Author(s): Christian Marillat
  • Date: 2005-05-25 13:02:29 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050525130229-jw94cav0yhmg7vjw
Tags: 1:2.0.40-0.0
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
/***************************************************************************
3
 
                          audioeng_vorbish  -  description
4
 
                             -------------------
5
 
                             Interface to livorbis
6
 
    begin                : Sun 11 sept
7
 
    copyright            : (C) 2002-4 by mean
8
 
    email                : fixounet@free.fr
9
 
 ***************************************************************************/
10
 
 
11
 
/***************************************************************************
12
 
 *                                                                         *
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.                                   *
17
 
 *                                                                         *
18
 
 ***************************************************************************/
19
 
#ifndef ADMaudioVorbis
20
 
#define ADMaudioVorbis
21
 
 
22
 
 //_____________________________________________
23
 
class AVDMProcessAudio_Vorbis : public AVDMBufferedAudioStream
24
 
{
25
 
protected:
26
 
         uint32_t       _size;
27
 
         uint32_t       _incoming_frame;
28
 
         uint32_t       grab(uint8_t *obuffer);
29
 
         void           *_handle;
30
 
         uint8_t        dropBuffer[SIZE_INTERNAL];
31
 
         uint64_t       _oldpos;
32
 
         uint32_t       _extraLen;
33
 
         uint8_t        *_extraData;
34
 
         
35
 
public:
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);
41
 
};
42
 
 
43
 
#endif
 
1
 
 
2
/***************************************************************************
 
3
                          audioeng_vorbish  -  description
 
4
                             -------------------
 
5
                             Interface to livorbis
 
6
    begin                : Sun 11 sept
 
7
    copyright            : (C) 2002-4 by mean
 
8
    email                : fixounet@free.fr
 
9
 ***************************************************************************/
 
10
 
 
11
/***************************************************************************
 
12
 *                                                                         *
 
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.                                   *
 
17
 *                                                                         *
 
18
 ***************************************************************************/
 
19
#ifndef ADMaudioVorbis
 
20
#define ADMaudioVorbis
 
21
 
 
22
 //_____________________________________________
 
23
class AVDMProcessAudio_Vorbis : public AVDMBufferedAudioStream
 
24
{
 
25
protected:
 
26
         uint32_t       _size;
 
27
         uint32_t       _incoming_frame;
 
28
         uint32_t       grab(uint8_t *obuffer);
 
29
         void           *_handle;
 
30
         uint8_t        dropBuffer[SIZE_INTERNAL];
 
31
         uint64_t       _oldpos;
 
32
         uint32_t       _extraLen;
 
33
         uint8_t        *_extraData;
 
34
         
 
35
public:
 
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);
 
41
};
 
42
 
 
43
#endif