IChannelAudioVolume class com
The IChannelAudioVolume interface enables a client to control and
monitor the volume levels for all of the channels in the audio session
that the stream belongs to. This is the session that the client assigned
the stream to during the call to the IAudioClient::Initialize
method.
The client obtains a reference to the IChannelAudioVolume interface on
a stream object by calling the IAudioClient::GetService
method with
parameter riid
set to REFIID IID_IChannelAudioVolume
.
Constructors
-
IChannelAudioVolume.new(Pointer<
COMObject> ptr) - IChannelAudioVolume.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 -
getAllVolumes(
int dwCount, Pointer< Float> pfVolumes) → int -
getChannelCount(
Pointer< Uint32> pdwCount) → int -
getChannelVolume(
int dwIndex, Pointer< Float> pfLevel) → 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
-
setAllVolumes(
int dwCount, Pointer< Float> pfVolumes, Pointer<GUID> EventContext) → int -
setChannelVolume(
int dwIndex, double fLevel, Pointer< GUID> EventContext) → 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