IAudioClient class com
The IAudioClient interface enables a client to create and initialize an audio stream between an audio application and the audio engine (for a shared-mode stream) or the hardware buffer of an audio endpoint device (for an exclusive-mode stream).
- Inheritance
- Implementers
Constructors
-
IAudioClient.new(Pointer<
COMObject> ptr) - IAudioClient.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 -
getCurrentPadding(
Pointer< Uint32> pNumPaddingFrames) → int -
getDevicePeriod(
Pointer< Int64> phnsDefaultDevicePeriod, Pointer<Int64> phnsMinimumDevicePeriod) → int -
getMixFormat(
Pointer< Pointer< ppDeviceFormat) → intWAVEFORMATEX> > -
getService(
Pointer< GUID> riid, Pointer<Pointer< ppv) → intNativeType> > -
getStreamLatency(
Pointer< Int64> phnsLatency) → int -
initialize(
int StreamFlags, int hnsBufferDuration, int hnsPeriodicity, Pointer< WAVEFORMATEX> pFormat, Pointer<GUID> AudioSessionGuid) → int -
isFormatSupported(
Pointer< WAVEFORMATEX> pFormat, Pointer<Pointer< ppClosestMatch) → intWAVEFORMATEX> > -
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 -
setEventHandle(
int eventHandle) → int -
start(
) → int -
stop(
) → int -
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