Speaker Methods |
The Speaker type exposes the following members.
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(AudioFormat) |
Retrieves the default playback device with desired format.
|
![]() ![]() | GetDefaultDevice(AudioApi) |
Retrieves the default playback device.
|
![]() ![]() | 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 | |
---|---|---|
![]() | 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.) |