バージョン

menu_open
AkUInt32 __cdecl AK::GetDeviceIDFromName ( wchar_t *  in_szToken  ) 

Finds an audio endpoint that matches the token in the device name or device ID and returns and ID compatible with AddSecondaryOutput. This is a helper function that searches in the device ID (as returned by IMMDevice->GetId) and in the property PKEY_Device_FriendlyName. The token parameter is case-sensitive. If you need to do matching on different conditions, use IMMDeviceEnumerator directly and AK::GetDeviceID.

覚え書き:
CoInitialize must have been called for the calling thread. See Microsoft's documentation about CoInitialize for more details.
戻り値:
An ID to use with AddSecondaryOutput. The ID returned is the device ID as returned by IMMDevice->GetId, hashed by AK::SoundEngine::GetIDFromName()

Finds an audio endpoint that matches the token in the device name or device ID and returns and ID compatible with AddSecondaryOutput. This is a helper function that searches in the device ID (as returned by IMMDevice->GetId) and IMMXboxDevice->GetPnpId() If you need to do matching on different conditions, use IMMXboxDeviceEnumerator directly.

戻り値:
An ID to use with AddSecondaryOutput. The ID returned is the device ID as returned by IMMDevice->GetId, hashed by AK::SoundEngine::GetIDFromName()

このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう