#include <WindowsMMDeviceInfoCache.h>
|
| UE_API | FWindowsMMDeviceCache () |
| |
| UE_API | FWindowsMMDeviceCache (bool bInEnableAggregateDeviceSupport) |
| |
| virtual | ~FWindowsMMDeviceCache ()=default |
| |
| UE_API bool | EnumerateChannelMask (uint32 InMask, FCacheEntry &OutInfo) |
| |
| UE_API bool | EnumerateChannelFormat (const WAVEFORMATEX *InFormat, FCacheEntry &OutInfo) |
| |
| UE_API EDeviceEndpointType | QueryDeviceDataFlow (const TComPtr< IMMDevice > &InDevice) const |
| |
| UE_API bool | EnumerateDeviceProps (const TComPtr< IMMDevice > &InDevice, FCacheEntry &OutInfo) |
| |
| UE_API bool | EnumerateHardwareTopology (const TComPtr< IMMDevice > &InDevice, FCacheEntry &OutInfo) |
| |
| UE_API void | EnumerateEndpoints () |
| |
| UE_API void | EnumerateDefaults () |
| |
| UE_API void | OnDefaultCaptureDeviceChanged (const EAudioDeviceRole InAudioDeviceRole, const FString &DeviceId) override |
| |
| UE_API void | OnDefaultRenderDeviceChanged (const EAudioDeviceRole InAudioDeviceRole, const FString &DeviceId) override |
| |
| UE_API void | OnDeviceAdded (const FString &DeviceId, bool bIsRender) override |
| |
| UE_API void | OnDeviceRemoved (const FString &DeviceId, bool) override |
| |
| UE_API TOptional< FCacheEntry > | BuildCacheEntry (const FString &DeviceId) |
| |
| UE_API FString | GetFriendlyName (FName InDeviceId) const |
| |
| UE_API void | OnDeviceStateChanged (const FString &DeviceId, const EAudioDeviceState InState, bool) override |
| |
| UE_API void | OnFormatChanged (const FString &InDeviceId, const FFormatChangedData &InFormat) override |
| |
| UE_API void | MakeDeviceInfo (const FCacheEntry &InEntry, FName InDefaultDevice, FAudioPlatformDeviceInfo &OutInfo) const |
| |
| virtual UE_API TArray< FAudioPlatformDeviceInfo > | GetAllActiveOutputDevices () const override |
| |
| virtual UE_API bool | IsAggregateHardwareDeviceId (const FName InDeviceID) const override |
| |
| virtual UE_API TOptional< FAudioPlatformDeviceInfo > | GetAggregateHardwareDeviceInfo (const FName InHardwareId, const EDeviceEndpointType InEndpointType) const |
| |
| virtual UE_API TArray< FAudioPlatformDeviceInfo > | GetLogicalAggregateDevices (const FName InHardwareId, const EDeviceEndpointType InEndpointType) const override |
| |
| virtual UE_API TArray< FAudioPlatformDeviceInfo > | SynthesizeAggregateDeviceList (const EDeviceEndpointType InType) const |
| |
| UE_API FName | GetDefaultOutputDevice_NoLock () const |
| |
| UE_API TOptional< FAudioPlatformDeviceInfo > | FindDefaultOutputDevice () const override |
| |
| UE_API TOptional< FAudioPlatformDeviceInfo > | FindActiveOutputDevice (FName InDeviceID) const override |
| |
| UE_API bool | IsAggregateDeviceSupportEnabled () const |
| |
| virtual | ~IAudioMixerDeviceChangedListener ()=default |
| |
| virtual void | RegisterDeviceChangedListener () |
| |
| virtual void | UnregisterDeviceChangedListener () |
| |
| virtual void | OnSessionDisconnect (EDisconnectReason InReason) |
| |
| virtual FString | GetDeviceId () const |
| |
| virtual | ~IAudioPlatformDeviceInfoCache ()=default |
| |
◆ FWindowsMMDeviceCache() [1/2]
| Audio::FWindowsMMDeviceCache::FWindowsMMDeviceCache |
( |
| ) |
|
◆ FWindowsMMDeviceCache() [2/2]
| Audio::FWindowsMMDeviceCache::FWindowsMMDeviceCache |
( |
bool |
bInEnableAggregateDeviceSupport | ) |
|
|
explicit |
◆ ~FWindowsMMDeviceCache()
| virtual Audio::FWindowsMMDeviceCache::~FWindowsMMDeviceCache |
( |
| ) |
|
|
virtualdefault |
◆ BuildCacheEntry()
◆ EnumerateChannelFormat()
◆ EnumerateChannelMask()
◆ EnumerateDefaults()
| void Audio::FWindowsMMDeviceCache::EnumerateDefaults |
( |
| ) |
|
◆ EnumerateDeviceProps()
◆ EnumerateEndpoints()
| void Audio::FWindowsMMDeviceCache::EnumerateEndpoints |
( |
| ) |
|
◆ EnumerateHardwareTopology()
◆ ExtractAggregateDeviceName()
| FString Audio::FWindowsMMDeviceCache::ExtractAggregateDeviceName |
( |
const FString & |
InName | ) |
|
|
static |
◆ FindActiveOutputDevice()
Returns the device info for an aggregate audio device. Note that this is a virtual device in that it is not a device returned by the OS device enumerator. It is a device synthesized for the purpose of identifying an aggregate device as a single, unified device. This device cannot be instantiated as-is. It's device Id can be used with GetAggregateHardwareDeviceInfo() to get an array of the logical devices that make up the aggregate and can be instantiated as a group to form an aggregate device at runtime.
Implements Audio::IAudioPlatformDeviceInfoCache.
◆ FindDefaultOutputDevice()
◆ GetAggregateHardwareDeviceInfo()
◆ GetAllActiveOutputDevices()
◆ GetDefaultOutputDevice_NoLock()
| FName Audio::FWindowsMMDeviceCache::GetDefaultOutputDevice_NoLock |
( |
| ) |
const |
◆ GetFriendlyName()
| FString Audio::FWindowsMMDeviceCache::GetFriendlyName |
( |
FName |
InDeviceId | ) |
const |
◆ GetLogicalAggregateDevices()
◆ IsAggregateDeviceSupportEnabled()
| bool Audio::FWindowsMMDeviceCache::IsAggregateDeviceSupportEnabled |
( |
| ) |
const |
◆ IsAggregateHardwareDeviceId()
| bool Audio::FWindowsMMDeviceCache::IsAggregateHardwareDeviceId |
( |
const FName |
InDeviceId | ) |
const |
|
overridevirtual |
◆ MakeDeviceInfo()
◆ OnDefaultCaptureDeviceChanged()
| void Audio::FWindowsMMDeviceCache::OnDefaultCaptureDeviceChanged |
( |
const EAudioDeviceRole |
InAudioDeviceRole, |
|
|
const FString & |
DeviceId |
|
) |
| |
|
overridevirtual |
◆ OnDefaultRenderDeviceChanged()
| void Audio::FWindowsMMDeviceCache::OnDefaultRenderDeviceChanged |
( |
const EAudioDeviceRole |
InAudioDeviceRole, |
|
|
const FString & |
DeviceId |
|
) |
| |
|
overridevirtual |
◆ OnDeviceAdded()
| void Audio::FWindowsMMDeviceCache::OnDeviceAdded |
( |
const FString & |
DeviceId, |
|
|
bool |
bIsRender |
|
) |
| |
|
overridevirtual |
◆ OnDeviceRemoved()
| void Audio::FWindowsMMDeviceCache::OnDeviceRemoved |
( |
const FString & |
DeviceId, |
|
|
bool |
|
|
) |
| |
|
overridevirtual |
◆ OnDeviceStateChanged()
◆ OnFormatChanged()
| void Audio::FWindowsMMDeviceCache::OnFormatChanged |
( |
const FString & |
InDeviceId, |
|
|
const FFormatChangedData & |
InFormat |
|
) |
| |
|
overridevirtual |
◆ QueryDeviceDataFlow()
◆ SynthesizeAggregateDeviceList()
◆ Cache
◆ CacheMutationLock
| FRWLock Audio::FWindowsMMDeviceCache::CacheMutationLock |
|
mutable |
◆ DefaultCaptureId
◆ DefaultRenderId
◆ DeviceEnumerator
The documentation for this struct was generated from the following files: