語法
參數
audioDeviceSelectionType PartyAudioDeviceSelectionType*輸出 輸出值,表示用來選取所提供之
deviceId 的選取類型。
audioDeviceSelectionContext PartyString*library-allocated output 使用 PartyAudioDeviceSelectionType::None 或 PartyAudioDeviceSelectionType::SystemDefault 時,
audioDeviceSelectionContext 會是空的。使用 PartyAudioDeviceSelectionType::PlatformUserDefault 或 PartyAudioDeviceSelectionType::Manual 時,audioDeviceSelectionContext 會是先前呼叫 SetAudioInput() 時提供的值。字串的記憶體在 PartyManager::StartProcessingStateChanges() 提供下一個 PartyLocalChatAudioInputChangedStateChange 或聊天控制項終結之前保持有效。
deviceId PartyString*library-allocated output 輸出值,表示所選取之音訊輸入裝置的識別碼。字串的記憶體在 PartyManager::StartProcessingStateChanges() 提供下一個 PartyLocalChatAudioInputChangedStateChange 或聊天控制項終結之前保持有效。
傳回值
PartyErrorc_partyErrorSuccess (如果呼叫成功),否則為錯誤碼。可透過 PartyManager::GetErrorMessage() 擷取錯誤碼的人類可讀形式。
備註
空白的裝置識別碼字串表示未選取任何輸入。需求
標頭: Party.h另請參閱
PartyLocalChatControlPartyLocalChatControl::SetAudioInput
PartyLocalChatControl::GetAudioOutput
