IAudioClient2 class com

The IAudioClient2 interface is derived from the IAudioClient interface, with a set of additional methods that enable a Windows Audio Session API (WASAPI) audio client to do the following: opt in for offloading, query stream properties, and get information from the hardware that handles offloading.

Inheritance
Implementers

Constructors

IAudioClient2(Pointer<COMObject> ptr)
IAudioClient2.from(IUnknown interface)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
ptr Pointer<COMObject>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRef() int
Increments the reference count for an interface pointer to a COM object.
inherited
detach() → void
Detaches the object from the Finalizer.
inherited
getBufferSize(Pointer<Uint32> pNumBufferFrames) int
inherited
getBufferSizeLimits(Pointer<WAVEFORMATEX> pFormat, int bEventDriven, Pointer<Int64> phnsMinBufferDuration, Pointer<Int64> phnsMaxBufferDuration) int
getCurrentPadding(Pointer<Uint32> pNumPaddingFrames) int
inherited
getDevicePeriod(Pointer<Int64> phnsDefaultDevicePeriod, Pointer<Int64> phnsMinimumDevicePeriod) int
inherited
getMixFormat(Pointer<Pointer<WAVEFORMATEX>> ppDeviceFormat) int
inherited
getService(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppv) int
inherited
getStreamLatency(Pointer<Int64> phnsLatency) int
inherited
initialize(int ShareMode, int StreamFlags, int hnsBufferDuration, int hnsPeriodicity, Pointer<WAVEFORMATEX> pFormat, Pointer<GUID> AudioSessionGuid) int
inherited
isFormatSupported(int ShareMode, Pointer<WAVEFORMATEX> pFormat, Pointer<Pointer<WAVEFORMATEX>> ppClosestMatch) int
inherited
isOffloadCapable(int Category, Pointer<Int32> pbOffloadCapable) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryInterface(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObject) int
Queries a COM object for a pointer to one of its interface; identifying the interface by a reference to its interface identifier (IID).
inherited
release() int
Decrements the reference count for an interface on a COM object.
inherited
reset() int
inherited
setClientProperties(Pointer<AudioClientProperties> pProperties) int
setEventHandle(int eventHandle) int
inherited
start() int
inherited
stop() int
inherited
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited