Speaker Class |
The Speaker type exposes the following members.
Name | Description | |
---|---|---|
![]() | ConverterType | (Inherited from AudioReceiver) |
![]() | DeviceInfo | Gets the product information of the speaker device. |
![]() | ID | (Inherited from DisposableClass) |
![]() | Initialized | Returns a boolean value indicating whether the selected speaker device is ready. |
![]() | Level | Gets the level of the speaker output. (Range: 0-100) |
![]() | MediaFormat | Gets the current audio format of the speaker. |
![]() | Muted | Gets or sets a boolean value indicating whether the speaker is muted. |
![]() | ReceiveFormats | (Inherited from AbstractMediaReceiverAudioData, AudioFormat) |
![]() | State | Gets the state of the playback device. |
![]() | Volume | Gets or sets the volume of the speaker. (Range: 0-1) |
Name | Description | |
---|---|---|
![]() | ChangeFormat | Changes the playback format of the device. |
![]() | Dispose | (Inherited from DisposableClass) |
![]() | Dispose(Boolean) |
Disposes the object.
(Overrides DisposableClass.Dispose(Boolean)) |
![]() ![]() | DisposeDevices | Disposes the previously created and not disposed devices. |
![]() | Finalize | (Inherited from DisposableClass) |
![]() ![]() | GetDefaultDevice | Retrieves the default playback device. |
![]() ![]() | GetDefaultDevice(AudioApi) | Retrieves the default playback device. |
![]() ![]() | GetDefaultDevice(AudioFormat) | Retrieves the default playback device with desired format. |
![]() ![]() | GetDefaultDevice(WaveformParams) | Retrieves the default playback device. |
![]() ![]() | GetDevice(AudioDeviceInfo) | Retrieves the specified playback device. |
![]() ![]() | GetDevice(AudioDeviceInfo, AudioApi) | Retrieves the specified playback device. |
![]() ![]() | GetDevice(AudioDeviceInfo, WaveformParams) | Retrieves the specified playback device. |
![]() ![]() | GetDevices | Retrieves the available playback devices. |
![]() ![]() | GetDevices(AudioApi) | Retrieves the available playback devices. |
![]() ![]() | GetDevicesCount | Retrieves the number of available playback devices. |
![]() | OnDataReceived | (Overrides AbstractMediaReceiver.OnDataReceived(Object, UTP)) |
![]() | SenderConnected | (Inherited from AudioReceiver) |
![]() | SenderDisconnected | (Inherited from AudioReceiver) |
![]() | SetReceiveFormats | (Inherited from AbstractMediaReceiverAudioData, AudioFormat) |
![]() | Start | Starts playing the audio from the speaker. |
![]() | Stop | Stops the playing. |
Name | Description | |
---|---|---|
![]() | LevelChanged | Occurs when the speaker level has changed. |
![]() | ReceiveFormatsChanged | (Inherited from AbstractMediaReceiverAudioData, AudioFormat) |
![]() | Stopped | Occurs when the speaker stopped playing. |
Name | Description | |
---|---|---|
![]() | DisposeManaged |
Manages access to the speaker's Dispose function.
It disposes the speaker only if all its owners have called DisposeManaged function on it.
Use this function paired with StartManaged and StopManaged ones.
(Defined by MediaManaged) |
![]() | StartManaged |
Manages access to the speaker's Start function.
Use this function paired with StopManaged and DisposeManaged ones.
(Defined by MediaManaged) |
![]() | StopManaged |
Manages access to the speaker's Stop function.
It stops the speaker only if all its owners have called StopManaged function on it.
Use this function paired with StartManaged and DisposeManaged ones.
(Defined by MediaManaged) |