Struct AudioStreamProperties

Definition

Namespace:
Tizen.Multimedia
Assembly:
Tizen.Multimedia.MediaPlayer.dll
API Level:
3

Represents properties for the audio stream.

C#
Copy
public 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#
Copy
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 Source

BitRate

Gets or sets the bit rate.

Declaration
C#
Copy
public int BitRate { get; set; }
Property Value
Type Description
Int32

The audio bit rate(Hz).

API Level: 3
View Source

Channels

Gets or sets the channels.

Declaration
C#
Copy
public int Channels { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

SampleRate

Gets or sets the sample rate.

Declaration
C#
Copy
public int SampleRate { get; set; }
Property Value
Type Description
Int32

The audio sample rate(Hz).

API Level: 3

Methods

View Source

ToString()

Returns a string that represents the current object.

Declaration
C#
Copy
public override string ToString()
Returns
Type Description
System.String

A string that represents the current object.

Overrides
System.ValueType.ToString()
API Level: 3