Struct AudioStreamProperties
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.MediaPlayer.dll
- API Level:
- 3
Represents properties for the audio stream.
C#Copypublic struct AudioStreamProperties
Constructors
View Source
AudioStreamProperties(Int32, Int32, Int32)
Initializes a new instance of the AudioStreamProperties struct with the specified sample rate, channels, and bit rate.
Declaration
C#Copypublic 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
Declaration
C#Copypublic int BitRate { get; set; }
Property Value
Type | Description |
---|---|
Int32 | The audio bit rate(Hz). |
API Level: 3
Declaration
C#Copypublic int Channels { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
Declaration
C#Copypublic int SampleRate { get; set; }
Property Value
Type | Description |
---|---|
Int32 | The audio sample rate(Hz). |
API Level: 3
Methods
Declaration
C#Copypublic override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |
Overrides
System.ValueType.ToString()