類別:CaResampler
音訊資料導流管
| 類型 | 使用 | 成員 | 說明 |
| 建構子 | public | ||
| 解構子 | public | ||
| 列舉 | public | ||
| 列舉 | public | ||
| 列舉 | public | ||
| 資料 | public | ||
| 資料 | public | ||
| 資料 | public | ||
| 資料 | public | ||
| 資料 | public | ||
| 資料 | public | ||
| 資料 | public | ||
| 資料 | public | ||
| 資料 | public | ||
| 資料 | public | ||
| 資料 | public | ||
| 資料 | public | ||
| 資料 | public | ||
| 函式 | public | ||
| 函式 | public | ||
| 函式 | public | ||
| 函式 | protected | ||
| 函式 | protected |
C/C++定義
class CaResampler
{
public:
SwrContext * Resample ;
unsigned char * inputBuffer ;
unsigned char * outputBuffer ;
double InputSampleRate ;
double OutputSampleRate ;
bool autoDeletion ;
explicit CaResampler (void) ;
virtual ~CaResampler (void) ;
bool Setup (double inputSampleRate ,
int inputChannels ,
CaSampleFormat inputFormat ,
double outputSampleRate ,
int outputChannels ,
CaSampleFormat outputFormat ) ;
int Convert (int frames) ;
int ToFrames (int frames) ;
static int Format (CaSampleFormat format) ;
static int Channel (int channels) ;
} ;