SoundSampleData

SoundSampleData

Overview

SoundSampleData is a class in Aspose.PDF FOSS for .NET.

Describes the format of embedded sound samples: sampling rate, number of channels, bits per channel and encoding.

This class declares 4 methods for SoundSampleData objects in .NET programs. Available methods include: SoundSampleData. Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: BitsPerChannel, DefaultEncodingFormat, DefaultOfBitsPerChannel, DefaultOfSoundChannels, DefaultSamplingRate, EncodingFormat, and 2 more.

Properties

NameTypeAccessDescription
SamplingRatelongRead/WriteGets or sets the sampling rate.
NumberOfSoundChannelsintRead/WriteGets or sets the number of sound channels.
BitsPerChannelintRead/WriteGets or sets the bits per channel.
EncodingFormatSoundSampleDataEncodingFormatRead/WriteGets or sets the encoding format.
DefaultSamplingRatelongReadGets the default sampling rate.
DefaultOfSoundChannelsintReadGets the default of sound channels.
DefaultOfBitsPerChannelintReadGets the default of bits per channel.
DefaultEncodingFormatSoundSampleDataEncodingFormatReadGets the default encoding format.

Methods

SignatureDescription
SoundSampleData(samplingRate: long)Creates a sample format with the given sampling rate (samples per second), 1 channel, 8 bits per channel and raw encoding.
SoundSampleData(samplingRate: long, numberOfSoundChannels: int)Creates a sample format with the given sampling rate and channel count, 8 bits per channel and raw encoding.
SoundSampleData(samplingRate: long, numberOfSoundChannels: int, bitsPerChannel: int)Creates a sample format with the given sampling rate, channel count and bits per channel, using raw encoding.
SoundSampleData(samplingRate: long, numberOfSoundChannels: int, bitsPerChannel: int, soundSampleDataEncodingFormat: SoundSampleDataEncodingFormat)Creates a sample format with the given sampling rate, channel count, bits per channel and encoding.

See Also

 English