1 #ifndef __FBAUDIOFMT_H__
2 #define __FBAUDIOFMT_H__
43 #include <kaydaradef.h>
48 #define FBSDK_DLL K_DLLIMPORT
58 #ifdef FBSDKUseNamespace
59 namespace FBSDKNamespace {
213 #ifdef FBSDKUseNamespace
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
K_DLLIMPORT int FBAudioFmt_GetBytesValue(FBAudioFmt pFormat)
Get the bytes value of the Audio format object.
K_DLLIMPORT FBAudioFmt FBAudioFmt_ConvertRateMode(FBAudioRateMode pRateMode)
Converts an FBAudioRateMode enum value to its FBAudioFmt object equivalent.
FBAudioBitDepthMode
Enum FBAudioBitDepthMode.
@ kFBAudioBitDepthMode_8
8 bits, Wave file render support.
@ kFBAudioBitDepthMode_24
24 bits, Wave file render support.
@ kFBAudioBitDepthMode_16
16 bits, Wave file render support.
@ kFBAudioBitDepthMode_FP
FP type audio, Wave file render not support.
K_DLLIMPORT int FBAudioFmt_GetChannelValue(FBAudioFmt pFormat)
Get the channel value of the Audio format object.
K_DLLIMPORT bool FBAudioFmt_TestFormat(const FBAudioFmt pSrcFormat, int pChannels, int pBits, int pRate)
Test if the given audio format object contains the channel, bit depth, and rate.
K_DLLIMPORT FBAudioFmt FBAudioFmt_GetDefaultFormat()
Get default audio format.
K_DLLIMPORT FBAudioFmt FBAudioFmt_AppendFormat(FBAudioFmt pFormat, int pChannels, int pBits, int pRate)
Append the rendering audio format using the specified settings.
K_DLLIMPORT int FBAudioFmt_GetRateValue(FBAudioFmt pFormat)
Get the rate value of the Audio format object.
K_DLLIMPORT int FBAudioFmt_GetBitsValue(FBAudioFmt pFormat)
Get the bit depth value of the Audio format object.
FBAudioChannelMode
Enum FBAudioChannelMode.
@ kFBAudioChannelModeStereo
2 channels, Wave file render support.
@ kFBAudioChannelModeMono
1 channel, Wave file render support.
@ kFBAudioChannelMode_8
8 channels, Wave file render not support.
@ kFBAudioChannelMode_4
4 channels, Wave file render not support.
K_DLLIMPORT FBAudioFmt FBAudioFmt_RemoveFormat(FBAudioFmt pFormat, int pChannels, int pBits, int pRate)
Remove channels, bit depth, or rate from the specified audio format object.
K_DLLIMPORT FBAudioFmt FBAudioFmt_ConvertChannelMode(FBAudioChannelMode pChannelMode)
Converts an FBAudioChannelMode enum value to its FBAudioFmt object equivalent.
FBAudioRateMode
Enum FBAudioRateMode.
@ kFBAudioRateMode_24000
24000 hz, Wave file render support.
@ kFBAudioRateMode_64000
64000 hz, Wave file render support.
@ kFBAudioRateMode_100000
100000 hz, Wave file render not support.
@ kFBAudioRateMode_50000
50000 hz, Wave file render not support.
@ kFBAudioRateMode_32000
32000 hz, Wave file render support.
@ kFBRAudioateMode_11025
11025 hz, Wave file render support.
@ kFBAudioRateMode_88200
88200 hz, Wave file render support.
@ kFBAudioRateMode_96000
96000 hz, Wave file render support.
@ kFBAudioRateMode_44100
44100 hz, Wave file render support.
@ kFBAudioRateMode_22050
22050 hz, Wave file render support.
@ kFBAudioRateMode_25000
25000 hz, Wave file render not support.
@ kFBAudioRateMode_12000
12000 hz, Wave file render support.
@ kFBAudioRateMode_48000
48000 hz, Wave file render support.
@ kFBAudioRateMode_16000
16000 hz, Wave file render support.
@ kFBAudioRateMode_8000
8000 hz, Wave file render support.
@ kFBAudioRateMode_12500
12500 hz, Wave file render not support.
K_DLLIMPORT FBAudioFmt FBAudioFmt_ConvertBitDepthMode(FBAudioBitDepthMode pBitDepthMode)
Converts an FBAudioBitDepthMode enum value to its FBAudioFmt object equivalent.