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
-
- Object
- IUnknown
- IAudioClient
- IAudioClient2
- Implementers
Constructors
-
IAudioClient2(Pointer<
COMObject> ptr) - IAudioClient2.from(IUnknown interface)
-
factory
Properties
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< ppDeviceFormat) → intWAVEFORMATEX> > -
inherited
-
getService(
Pointer< GUID> riid, Pointer<Pointer< ppv) → intNativeType> > -
inherited
-
getStreamLatency(
Pointer< Int64> phnsLatency) → int -
inherited
-
initialize(
int StreamFlags, int hnsBufferDuration, int hnsPeriodicity, Pointer< WAVEFORMATEX> pFormat, Pointer<GUID> AudioSessionGuid) → int -
inherited
-
isFormatSupported(
Pointer< WAVEFORMATEX> pFormat, Pointer<Pointer< ppClosestMatch) → intWAVEFORMATEX> > -
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< ppvObject) → intNativeType> > -
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