sipxmedialib  Version 3.3
MpRawAudioBuffer.h
Go to the documentation of this file.
1 //
2 //
3 // Copyright 2005 Pingtel Corp.
4 //
5 // $$
7 
8 #ifndef _MpRawAudioBuffer_h_
9 #define _MpRawAudioBuffer_h_
10 
11 // SYSTEM INCLUDES
12 // APPLICATION INCLUDES
13 // DEFINES
14 // MACROS
15 // EXTERNAL FUNCTIONS
16 // EXTERNAL VARIABLES
17 // CONSTANTS
18 // STRUCTS
19 // TYPEDEFS
20 // FORWARD DECLARATIONS
21 
26 /* //////////////////////////// PUBLIC //////////////////////////////////// */
27 public:
28 
29 /* ============================ CREATORS ================================== */
30 
34 MpRawAudioBuffer(const char* pFilePath);
35 
40 
41 /* ============================ MANIPULATORS ============================== */
42 
43 /* ============================ ACCESSORS ================================= */
44 
45 char* getAudio(char*& prAudio, unsigned long& rLength);
46 
47 /* ============================ INQUIRY =================================== */
48 
49 /* //////////////////////////// PROTECTED ///////////////////////////////// */
50 protected:
51 
52 /* //////////////////////////// PRIVATE /////////////////////////////////// */
53 private:
54 char *mpAudioBuffer; // Pointer to the raw audio data
55 unsigned long mAudioBufferLength; // Length, in bytes, of the audio data
56 };
57 
58 #endif // _MpRawAudioBuffer_h_
59 
char * mpAudioBuffer
Definition: MpRawAudioBuffer.h:54
~MpRawAudioBuffer()
Definition: MpRawAudioBuffer.cpp:98
MpRawAudioBuffer(const char *pFilePath)
Definition: MpRawAudioBuffer.cpp:29
Definition: MpRawAudioBuffer.h:25
unsigned long mAudioBufferLength
Definition: MpRawAudioBuffer.h:55
char * getAudio(char *&prAudio, unsigned long &rLength)
Definition: MpRawAudioBuffer.cpp:109