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