ISimpleAudioVolume class com Interface
The ISimpleAudioVolume interface enables a client to control the master
volume level of an audio session. The IAudioClient::Initialize method
initializes a stream object and assigns the stream to an audio session.
The client obtains a reference to the ISimpleAudioVolume interface on
a stream object by calling the IAudioClient::GetService
method with
parameter riid
set to REFIID IID_ISimpleAudioVolume
.
Constructors
-
ISimpleAudioVolume(Pointer<
COMObject> ptr) - ISimpleAudioVolume.from(IUnknown interface)
-
factory
Properties
Methods
-
addRef(
) → int -
Increments the reference count for an interface pointer to a COM object.
inherited
-
getMasterVolume(
Pointer< Float> pfLevel) → int -
getMute(
Pointer< Int32> pbMute) → 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
-
setMasterVolume(
double fLevel, Pointer< GUID> EventContext) → int -
setMute(
int bMute, 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