#define criAtomExVoicePool_SetDefaultConfigForDspPitchShifter | ( | p_config | ) |
値:
{\ (p_config)->num_dsp = CRIATOMEX_DEFAULT_VOICES_PER_POOL;\ (p_config)->max_channels = CRIATOM_DEFAULT_INPUT_MAX_CHANNELS;\ (p_config)->max_sampling_rate = CRIATOM_DEFAULT_INPUT_MAX_SAMPLING_RATE;\ (p_config)->specific.mode = 0;\ (p_config)->specific.window_size = 1024;\ (p_config)->specific.overlap_times = 4;\ }
[out] | p_config | ピッチシフタDSPのアタッチ用コンフィグへのポインタ |
#define criAtomExVoicePool_SetDefaultConfigForDspTimeStretch | ( | p_config | ) |
値:
{\ (p_config)->num_dsp = CRIATOMEX_DEFAULT_VOICES_PER_POOL;\ (p_config)->max_channels = CRIATOM_DEFAULT_INPUT_MAX_CHANNELS;\ (p_config)->max_sampling_rate = CRIATOM_DEFAULT_INPUT_MAX_SAMPLING_RATE;\ (p_config)->specific.reserved = 0;\ }
[out] | p_config | タイムストレッチDSPのアタッチ用コンフィグへのポインタ |
typedef struct CriAtomExDspPitchShifterConfigTag CriAtomExDspPitchShifterConfig |
ピッチシフタDSPのアタッチ用コンフィグ構造体
typedef struct CriAtomExDspTimeStretchConfigTag CriAtomExDspTimeStretchConfig |
タイムストレッチDSPのアタッチ用コンフィグ構造体
void CRIAPI criAtomExVoicePool_DetachDsp | ( | CriAtomExVoicePoolHn | pool | ) |
DSPのデタッチ
[in] | pool | ボイスプールハンドル |
備考: 現在、本関数を使用できないプラットフォームが存在します。
CriSint32 CRIAPI criAtomExVoicePool_CalculateWorkSizeForDspPitchShifter | ( | const CriAtomExDspPitchShifterConfig * | config | ) |
ピッチシフタDSPアタッチ用ワーク領域サイズの計算
[in] | config | アタッチ用コンフィグ |
0以上 | 正常に処理が完了 | |
-1 | エラーが発生 |
void CRIAPI criAtomExVoicePool_AttachDspPitchShifter | ( | CriAtomExVoicePoolHn | pool, | |
const CriAtomExDspPitchShifterConfig * | config, | |||
void * | work, | |||
CriSint32 | work_size | |||
) |
ピッチシフタDSPのアタッチ
[in] | pool | アタッチ先ボイスプールハンドル |
[in] | config | アタッチ用コンフィグ |
[in] | work | アタッチ用ワーク領域へのポインタ |
[in] | work_size | アタッチ用ワーク領域のサイズ |
備考: 現在、本関数を使用できないプラットフォームが存在します。
CriSint32 CRIAPI criAtomExVoicePool_CalculateWorkSizeForDspTimeStretch | ( | const CriAtomExDspTimeStretchConfig * | config | ) |
タイムストレッチDSPアタッチ用ワーク領域サイズの計算
[in] | config | アタッチ用コンフィグ |
0以上 | 正常に処理が完了 | |
-1 | エラーが発生 |
void CRIAPI criAtomExVoicePool_AttachDspTimeStretch | ( | CriAtomExVoicePoolHn | pool, | |
const CriAtomExDspTimeStretchConfig * | config, | |||
void * | work, | |||
CriSint32 | work_size | |||
) |
タイムストレッチDSPのアタッチ
[in] | pool | アタッチ先ボイスプールハンドル |
[in] | config | アタッチ用コンフィグ |
[in] | work | アタッチ用ワーク領域へのポインタ |
[in] | work_size | アタッチ用ワーク領域のサイズ |
備考: 現在、本関数を使用できないプラットフォームが存在します。