IChannelAudioVolume class com Interface
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(Pointer<
COMObject> ptr) - IChannelAudioVolume.from(IUnknown interface)
-
factory
Properties
Methods
-
addRef(
) → int -
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> > -
inherited
-
release(
) → int -
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