fbsdk/fbaudiofmt.h File Reference
 
 
 
fbsdk/fbaudiofmt.h File Reference
#include <kaydaradef.h>
#include <fbsdk/fbtypes.h>

File Description

Audio formats definition.

Definition in file fbaudiofmt.h.

Defines

#define  FBSDK_DLL   K_DLLIMPORT
  Be sure that FBSDK_DLL is defined only once...

Typedefs

typedef int  FBAudioFmt
  A type definition for FBAudioFmt.

Enumerations

enum   FBAudioChannelMode { kFBAudioChannelModeMono, kFBAudioChannelModeStereo, kFBAudioChannelMode_4, kFBAudioChannelMode_8 }
  Enum FBAudioChannelMode. More...
enum   FBAudioBitDepthMode { kFBAudioBitDepthMode_8, kFBAudioBitDepthMode_16, kFBAudioBitDepthMode_24, kFBAudioBitDepthMode_FP }
  Enum FBAudioBitDepthMode. More...
enum   FBAudioRateMode {
  kFBAudioRateMode_8000, kFBRAudioateMode_11025, kFBAudioRateMode_12000, kFBAudioRateMode_12500,
  kFBAudioRateMode_16000, kFBAudioRateMode_22050, kFBAudioRateMode_24000, kFBAudioRateMode_25000,
  kFBAudioRateMode_32000, kFBAudioRateMode_44100, kFBAudioRateMode_48000, kFBAudioRateMode_50000,
  kFBAudioRateMode_64000, kFBAudioRateMode_88200, kFBAudioRateMode_96000, kFBAudioRateMode_100000
}
  Enum FBAudioRateMode. More...

Functions

K_DLLIMPORT FBAudioFmt  FBAudioFmt_GetDefaultFormat ()
K_DLLIMPORT FBAudioFmt  FBAudioFmt_AppendFormat (FBAudioFmt pFormat, int pChannels, int pBits, int pRate)
K_DLLIMPORT FBAudioFmt  FBAudioFmt_AppendFormat (FBAudioFmt pFormat, const FBAudioFmt pSrcFormat)
K_DLLIMPORT FBAudioFmt  FBAudioFmt_RemoveFormat (FBAudioFmt pFormat, int pChannels, int pBits, int pRate)
K_DLLIMPORT FBAudioFmt  FBAudioFmt_RemoveFormat (FBAudioFmt pFormat, const FBAudioFmt pSrcFormat)
K_DLLIMPORT int  FBAudioFmt_GetChannelValue (FBAudioFmt pFormat)
K_DLLIMPORT int  FBAudioFmt_GetBitsValue (FBAudioFmt pFormat)
K_DLLIMPORT int  FBAudioFmt_GetBytesValue (FBAudioFmt pFormat)
K_DLLIMPORT int  FBAudioFmt_GetRateValue (FBAudioFmt pFormat)
K_DLLIMPORT bool  FBAudioFmt_TestFormat (const FBAudioFmt pSrcFormat, int pChannels, int pBits, int pRate)

Define Documentation

#define FBSDK_DLL   K_DLLIMPORT

Be sure that FBSDK_DLL is defined only once...

Definition at line 48 of file fbaudiofmt.h.


Typedef Documentation

A type definition for FBAudioFmt.

Definition at line 56 of file fbaudiofmt.h.


Enumeration Type Documentation

Enum FBAudioChannelMode.

Enumerator:
kFBAudioChannelModeMono 

1 channel, Wave file render support.

kFBAudioChannelModeStereo 

2 channels, Wave file render support.

kFBAudioChannelMode_4 

4 channels, Wave file render not support.

kFBAudioChannelMode_8 

8 channels, Wave file render not support.

Definition at line 63 of file fbaudiofmt.h.

Enum FBAudioBitDepthMode.

Enumerator:
kFBAudioBitDepthMode_8 

8 bits, Wave file render support.

kFBAudioBitDepthMode_16 

16 bits, Wave file render support.

kFBAudioBitDepthMode_24 

24 bits, Wave file render not support.

kFBAudioBitDepthMode_FP 

FP type audio, Wave file render not support.

Definition at line 70 of file fbaudiofmt.h.

Enum FBAudioRateMode.

Enumerator:
kFBAudioRateMode_8000 

8000 hz, Wave file render support.

kFBRAudioateMode_11025 

11025 hz, Wave file render support.

kFBAudioRateMode_12000 

12000 hz, Wave file render support.

kFBAudioRateMode_12500 

12500 hz, Wave file render not support.

kFBAudioRateMode_16000 

16000 hz, Wave file render support.

kFBAudioRateMode_22050 

22050 hz, Wave file render support.

kFBAudioRateMode_24000 

24000 hz, Wave file render support.

kFBAudioRateMode_25000 

25000 hz, Wave file render not support.

kFBAudioRateMode_32000 

32000 hz, Wave file render support.

kFBAudioRateMode_44100 

44100 hz, Wave file render support.

kFBAudioRateMode_48000 

48000 hz, Wave file render support.

kFBAudioRateMode_50000 

50000 hz, Wave file render not support.

kFBAudioRateMode_64000 

64000 hz, Wave file render support.

kFBAudioRateMode_88200 

88200 hz, Wave file render support.

kFBAudioRateMode_96000 

96000 hz, Wave file render support.

kFBAudioRateMode_100000 

100000 hz, Wave file render not support.

Definition at line 77 of file fbaudiofmt.h.


Function Documentation

K_DLLIMPORT FBAudioFmt FBAudioFmt_GetDefaultFormat ( )
K_DLLIMPORT FBAudioFmt FBAudioFmt_AppendFormat ( FBAudioFmt  pFormat,
int  pChannels,
int  pBits,
int  pRate 
)
K_DLLIMPORT FBAudioFmt FBAudioFmt_AppendFormat ( FBAudioFmt  pFormat,
const FBAudioFmt  pSrcFormat 
)
K_DLLIMPORT FBAudioFmt FBAudioFmt_RemoveFormat ( FBAudioFmt  pFormat,
int  pChannels,
int  pBits,
int  pRate 
)
K_DLLIMPORT FBAudioFmt FBAudioFmt_RemoveFormat ( FBAudioFmt  pFormat,
const FBAudioFmt  pSrcFormat 
)
K_DLLIMPORT int FBAudioFmt_GetChannelValue ( FBAudioFmt  pFormat )
K_DLLIMPORT int FBAudioFmt_GetBitsValue ( FBAudioFmt  pFormat )
K_DLLIMPORT int FBAudioFmt_GetBytesValue ( FBAudioFmt  pFormat )
K_DLLIMPORT int FBAudioFmt_GetRateValue ( FBAudioFmt  pFormat )
K_DLLIMPORT bool FBAudioFmt_TestFormat ( const FBAudioFmt  pSrcFormat,
int  pChannels,
int  pBits,
int  pRate 
)

Go to the source code of this file.