Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


SoundDevice Class

Definition

The communications channel to a sound device.

C#
public abstract class SoundDevice : IDisposable
Inheritance
SoundDevice
Implements

Constructors

Properties

PlaybackMute

The playback mute of the sound device.

PlaybackVolume

The playback volume of the sound device.

RecordingMute

The recording mute of the sound device.

RecordingVolume

The recording volume of the sound device.

Settings

The connection settings of the sound device.

Methods

Create(SoundConnectionSettings, Boolean)

Create a communications channel to a sound device running on Unix.

Create(SoundConnectionSettings)

Create a communications channel to a sound device running on Unix.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(Boolean)

Releases the unmanaged resources used by the SoundDevice and optionally releases the managed resources.

Play(Stream)

Play WAV file.

Play(String)

Play WAV file.

Record(UInt32, Stream)

Sound recording.

Record(UInt32, String)

Sound recording.

StartRecording(String)

Start a continuous recording

StopRecording()

Stop the continuous recording

WriteWavHeader(Stream, WavHeader)

Write a header in a Stream

Applies to

Termék Verziók
.NET IoT Libraries 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0