AsfAudioStreamProperty

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.AsfBaseStreamProperty

public class AsfAudioStreamProperty extends AsfBaseStreamProperty

Represents Audio stream property metadata in the ASF media container.

Learn more

Methods

Method Description
getFormatTag() Gets the unique ID of the codec used to encode the audio data.
getChannels() Gets the number of audio channels.
getSamplesPerSecond() Gets a value in Hertz (cycles per second) that represents the sampling rate of the audio stream.
getBitsPerSample() Gets the number of bits per sample of monaural data.

getFormatTag()

public final int getFormatTag()

Gets the unique ID of the codec used to encode the audio data.

Returns: int - The unique ID of the codec used to encode the audio data.

getChannels()

public final int getChannels()

Gets the number of audio channels.

Returns: int - The number of audio channels.

getSamplesPerSecond()

public final long getSamplesPerSecond()

Gets a value in Hertz (cycles per second) that represents the sampling rate of the audio stream.

Returns: long - The a value in Hertz (cycles per second) that represents the sampling rate of the audio stream.

getBitsPerSample()

public final int getBitsPerSample()

Gets the number of bits per sample of monaural data.

Returns: int - The number of bits per sample of monaural data.