Struct AudioStreamProperties
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.MediaPlayer.dll
- API Level:
- 3
Represents properties for the audio stream.
public struct AudioStreamProperties
Constructors
View SourceAudioStreamProperties(Int32, Int32, Int32)
Initializes a new instance of the AudioStreamProperties struct with the specified sample rate, channels, and bit rate.
Declaration
public AudioStreamProperties(int sampleRate, int channels, int bitRate)
Parameters
Type | Name | Description |
---|---|---|
Int32 | sampleRate | The sample rate of the stream. |
Int32 | channels | The number of channels of the stream. |
Int32 | bitRate | The bit rate of the stream. |
API Level: 3
Properties
View SourceBitRate
Gets or sets the bit rate.
Declaration
public int BitRate { get; set; }
Property Value
Type | Description |
---|---|
Int32 | The audio bit rate(Hz). |
API Level: 3
View SourceChannels
Gets or sets the channels.
Declaration
public int Channels { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceSampleRate
Gets or sets the sample rate.
Declaration
public int SampleRate { get; set; }
Property Value
Type | Description |
---|---|
Int32 | The audio sample rate(Hz). |
API Level: 3
Methods
View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A string that represents the current object. |