public final class SoundData extends Object
Represents a sound data defining the sound to be played when the annotation is activated.
Modifier and Type | Method and Description |
---|---|
int |
getBits()
Gets or sets the number of bits per sample value per channel.
|
int |
getChannels()
Gets or sets the number of sound channels.
|
com.aspose.ms.System.IO.Stream |
getContents()
Gets stream of the sound to be played when the annotation is activated.
|
int |
getEncoding()
Gets or sets the encoding format for the sample data.
|
int |
getRate()
Gets or sets the sampling rate, in samples per second.
|
void |
setBits(int value) |
void |
setChannels(int value) |
void |
setEncoding(int value) |
void |
setRate(int value) |
public int getRate()
Gets or sets the sampling rate, in samples per second.
public void setRate(int value)
public int getChannels()
Gets or sets the number of sound channels.
public void setChannels(int value)
public int getBits()
Gets or sets the number of bits per sample value per channel.
public void setBits(int value)
public com.aspose.ms.System.IO.Stream getContents()
Gets stream of the sound to be played when the annotation is activated.
public int getEncoding()
Gets or sets the encoding format for the sample data.
public void setEncoding(int value)
Copyright © 2017 Aspose. All Rights Reserved.