Struct AudioStreamProperties
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.MediaPlayer.dll
Represents properties for the audio stream.
public struct AudioStreamProperties
Constructors
View SourceAudioStreamProperties(int, int, int)
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 |
---|---|---|
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
View SourceBitRate
Gets or sets the bit rate.
Declaration
public int BitRate { readonly get; set; }
Property Value
Type | Description |
---|---|
int | The audio bit rate(Hz). |
Channels
Gets or sets the channels.
Declaration
public int Channels { readonly get; set; }
Property Value
Type | Description |
---|---|
int |
SampleRate
Gets or sets the sample rate.
Declaration
public int SampleRate { readonly get; set; }
Property Value
Type | Description |
---|---|
int | The audio sample rate(Hz). |
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. |
Overrides
System.ValueType.ToString()