#define MAX_DEVICES (4)
static CriSint32 num_devices = 0;
};
main()
{
:
:
:
for (i = 1; i < MAX_DEVICES; i++) {
asr_rack_config.sound_renderer_type = sound_renderer_table[i];
}
:
:
:
}
static void CRIAPI user_endpoint_callback(void *object, IMMDevice *device)
{
:
device->GetId(&device_id);
CoTaskMemFree(device_id);
:
}
CriAtomExAsrRackId criAtomExAsrRack_Create(const CriAtomExAsrRackConfig *config, void *work, CriSint32 work_size)
ASRラックの作成
CriAtomExPlaybackId criAtomExPlayer_Start(CriAtomExPlayerHn player)
再生の開始
void criAtomExPlayer_SetAsrRackId(CriAtomExPlayerHn player, CriSint32 rack_id)
ASRラックIDの指定
#define criAtomExAsrRack_SetDefaultConfig(p_config)
CriAtomAsrConfigへのデフォルトパラメーターをセット
Definition: cri_le_atom_asr.h:2122
enum CriAtomSoundRendererTypeTag CriAtomSoundRendererType
サウンドレンダラタイプ
@ CRIATOM_SOUND_RENDERER_HW1
Definition: cri_le_atom.h:820
@ CRIATOM_SOUND_RENDERER_HW3
Definition: cri_le_atom.h:822
@ CRIATOM_SOUND_RENDERER_HW2
Definition: cri_le_atom.h:821
@ CRIATOM_SOUND_RENDERER_HW4
Definition: cri_le_atom.h:823
void criAtomEx_Initialize_WASAPI(const CriAtomExConfig_WASAPI *config, void *work, CriSint32 work_size)
ライブラリの初期化
CriSint32 criAtom_EnumAudioEndpoints_WASAPI(CriAtomAudioEndpointCbFunc_WASAPI callback, void *object)
オーディオエンドポイントの列挙
void criAtom_SetDeviceId_WASAPI(CriAtomSoundRendererType type, LPCWSTR device_id)
サウンドデバイスの指定
#define criAtomEx_SetDefaultConfig_WASAPI(p_config)
ライブラリ初期化用コンフィグ構造体にデフォルト値をセット
Definition: cri_le_atom_wasapi.h:79