Wwise SDK
_ak_m_m_device_8h_source
버전
menu_open
알림: 고객님의 주요 출시 버전( 2023.1.6.8555 )에 해당하는 최신 설명서로 이동했습니다. 특정 버전의 설명서를 보시려면 Audiokinetic 런처에서 오프라인 설명서를 다운로드하고 Wwise Authoring의 Offline Documentation을 확인하세요.
AkMMDevice.h
이 파일의 문서화 페이지로 가기
466 pEnumerator->GetDefaultAudioEndpoint(eRender, in_eRole, (IMMDevice**)&pDevice.pDevice); //Transfer the ref
480 virtual Device Item(AkUInt32 in_idx) = 0; ///Gets item in_idx from the cache. Must be smaller than Count(). This function can block.
481 virtual void Lock() = 0; /// For thread safety. If you iterate through all the devices, lock the enumerator to avoid changes. However, if only accessing one single item, Item() is thread safe in itself.
483 virtual Device FindDevice(AkUInt32 in_id) = 0; ///Find a device that has this unique ID. The Id is one returned by AK::GetDeviceID.
virtual Device Item(AkUInt32 in_idx)=0
Returns the number of devices. This function can block.
DeviceProperty(const PROPERTYKEY &key, IPropertyStore *in_pProps)
Definition: AkMMDevice.h:62
DeviceCollection(IMMDeviceEnumerator *pEnumerator, EDataFlow eFlow, DWORD dwStateMask)
Definition: AkMMDevice.h:342
Definition: AkMMDevice.h:271
DeviceProperties(const DeviceProperties &other)=delete
DeviceEnumerator & operator=(const DeviceEnumerator &other)=delete
Iterator(IMMDeviceCollection *in_pDevices, UINT in_i)
Definition: AkMMDevice.h:276
DeviceProperty GetProperty(const PROPERTYKEY &key)
Definition: AkMMDevice.h:151
virtual void Lock()=0
Gets item in_idx from the cache. Must be smaller than Count(). This function can block.
DeviceProperties & operator=(DeviceProperties &&other)
Definition: AkMMDevice.h:137
Definition: AkMMDevice.h:36
DeviceCollection(const DeviceCollection &other)=delete
Definition: AkMMDevice.h:102
DeviceCollection & operator=(DeviceCollection &&other)
Definition: AkMMDevice.h:375
DeviceCollection(DeviceCollection &&other)
Definition: AkMMDevice.h:353
DeviceProperties & operator=(const DeviceProperties &other)=delete
Definition: AkMMDevice.h:53
Interface to access the IMMDevice cache. This avoids driver accesses.
Definition: AkMMDevice.h:477
DeviceProperty(const DeviceProperty &other)=delete
Iterator operator+(AkUInt32 inc) const
Definition: AkMMDevice.h:283
DeviceEnumerator(DeviceEnumerator &&other)
Definition: AkMMDevice.h:427
interface IMMDeviceCollection * pDevices
Definition: AkMMDevice.h:330
interface IMMDeviceEnumerator * pEnumerator
Definition: AkMMDevice.h:472
virtual AkUInt32 Count()=0
interface IMMDeviceCollection * pDevices
Definition: AkMMDevice.h:409
bool operator!=(const Iterator &in_rOp) const
!= operator</div>
Definition: AkMMDevice.h:316
DeviceProperty & operator=(const DeviceProperty &other)=delete
Definition: AkMMDevice.h:159
AkUInt32 operator-(Iterator const &rhs) const
Definition: AkMMDevice.h:290
DeviceEnumerator(const DeviceEnumerator &other)=delete
Iterator & operator++()
++ operator</div>
Definition: AkMMDevice.h:296
DeviceProperties(IMMDevice *in_pDevice)
Definition: AkMMDevice.h:111
virtual void Unlock()=0
For thread safety. If you iterate through all the devices, lock the enumerator to avoid changes....
bool operator==(const Iterator &in_rOp) const
== operator</div>
Definition: AkMMDevice.h:310
Definition: AkMMDevice.h:414
DeviceProperty(DeviceProperty &&other)
Definition: AkMMDevice.h:69
DeviceCollection(IMMDeviceEnumerator *pEnumerator)
Definition: AkMMDevice.h:334
virtual Device FindDevice(AkUInt32 in_id)=0
For thread safety. See Lock()
DeviceEnumerator & operator=(DeviceEnumerator &&other)
Definition: AkMMDevice.h:447
Device GetDefaultDevice(ERole in_eRole)
Definition: AkMMDevice.h:463
AkForceInline AkInt32 AkWideCharToChar(const wchar_t *in_pszUnicodeString, AkUInt32 in_uiOutBufferSize, char *io_pszAnsiString)
String conversion helper
Definition: AkPlatformFuncs.h:388
DeviceCollection & operator=(const DeviceCollection &other)=delete
void CheckForDuplicateEntries()
Definition: AkMMDevice.h:40
Iterator & operator--()
– operator</div>
Definition: AkMMDevice.h:303
static HashParams::HashType ComputeLowerCase(const char *in_pData)
Definition: AkFNVHash.h:130
DeviceProperty & operator=(DeviceProperty &&other)
Definition: AkMMDevice.h:85
DeviceProperties(DeviceProperties &&other)
Definition: AkMMDevice.h:117
이 페이지가 도움이 되었나요?
작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.
프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.
Wwise를 시작해 보세요