Click or drag to resize

Speaker Methods

The Speaker type exposes the following members.

Methods
 NameDescription
Public methodChangeFormat Changes the playback format of the device.
Public methodDispose
(Inherited from DisposableClass)
Protected methodDispose(Boolean) Disposes the object.
(Overrides DisposableClass.Dispose(Boolean))
Public methodStatic memberDisposeDevices Disposes the previously created and not disposed devices.
Protected methodFinalize
(Inherited from DisposableClass)
Public methodStatic memberGetDefaultDevice Retrieves the default playback device.
Public methodStatic memberGetDefaultDevice(AudioApi) Retrieves the default playback device.
Public methodStatic memberGetDefaultDevice(AudioFormat) Retrieves the default playback device with desired format.
Public methodStatic memberGetDefaultDevice(WaveformParams) Retrieves the default playback device.
Public methodStatic memberGetDevice(AudioDeviceInfo) Retrieves the specified playback device.
Public methodStatic memberGetDevice(AudioDeviceInfo, AudioApi) Retrieves the specified playback device.
Public methodStatic memberGetDevice(AudioDeviceInfo, WaveformParams) Retrieves the specified playback device.
Public methodStatic memberGetDevices Retrieves the available playback devices.
Public methodStatic memberGetDevices(AudioApi) Retrieves the available playback devices.
Public methodStatic memberGetDevicesCount Retrieves the number of available playback devices.
Protected methodOnDataReceived
(Overrides AbstractMediaReceiver.OnDataReceived(Object, UTP))
Protected methodSenderConnected
(Inherited from AudioReceiver)
Protected methodSenderDisconnected
(Inherited from AudioReceiver)
Protected methodSetReceiveFormats
(Inherited from AbstractMediaReceiverAudioData, AudioFormat)
Public methodStart Starts playing the audio from the speaker.
Public methodStop Stops the playing.
Top
Extension Methods
 NameDescription
Public Extension MethodDisposeManaged 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)
Public Extension MethodStartManaged Manages access to the speaker's Start function. Use this function paired with StopManaged and DisposeManaged ones.
(Defined by MediaManaged)
Public Extension MethodStopManaged 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)
Top
See Also