Struct AudioStreamProperties

    Definition

    Namespace:
    Tizen.Multimedia
    Assembly:
    Tizen.Multimedia.MediaPlayer.dll

    Represents properties for the audio stream.

    public 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
    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 Source

    BitRate

    Gets or sets the bit rate.

    Declaration
    public int BitRate { readonly get; set; }
    Property Value
    Type Description
    int

    The audio bit rate(Hz).

    View Source

    Channels

    Gets or sets the channels.

    Declaration
    public int Channels { readonly get; set; }
    Property Value
    Type Description
    int
    View Source

    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 Source

    ToString()

    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()
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX