Name | Description | |
---|---|---|
![]() | SoundObject Constructor | Initializes a new instance of the SoundObject class. |
The following tables list the members exposed by SoundObject.
Name | Description | |
---|---|---|
![]() | SoundObject Constructor | Initializes a new instance of the SoundObject class. |
Name | Description | |
---|---|---|
![]() | BitsPerSample | Gets or sets the number of bits per sample value per channel. |
![]() | EncodingFormat | Gets or sets the encoding format for the sample data, see SoundEncodingFormat. |
![]() | SamplingRate | Gets or sets the sampling rate, in samples per second. |
![]() | SoundChannels | Gets or sets the number of sound channels. |
Name | Description | |
---|---|---|
![]() ![]() | FromFile | Creates a SoundObject from a specified file.
Note that only a limited set of audio formats is supported, see AudioFormat for details. |
![]() ![]() | FromStream | Creates a SoundObject from a specified stream.
Note that only a limited set of audio formats is supported, see AudioFormat for details. |
![]() | GetAudioDataStream | Gets a System.IO.Stream object containing the audio data.
IMPORTANT: that the stream should be disposed after usage. |
![]() | SetAudioDataStream | Sets the audio data stream.
IMPORTANT: the stream will be read when the document is saved, so it should be available at that time. |