Search Results for

    / fm / liveswitch / AudioConfig

    Class: AudioConfig

    fm.liveswitch.AudioConfig

    An audio configuration.

    Hierarchy

    • MediaConfig<AudioConfig>

      ↳ AudioConfig

    Table of contents

    Constructors

    • constructor

    Methods

    • fmliveswitchAudioConfigInit
    • getChannelCount
    • getClockRate
    • getTypeString
    • isEquivalent
    • toString

    Constructors

    constructor

    + new AudioConfig(clockRate: number, channelCount: number): AudioConfig

    Initializes a new instance of the [[fm.liveswitch.audioConfig]] class.

    Parameters:

    Name Type Description
    clockRate number The clock rate.
    channelCount number The channel count.

    Returns: AudioConfig

    Inherited from: MediaConfig

    Defined in: Generated/TypeScript/fm.liveswitch/AudioConfig.ts:19

    Methods

    fmliveswitchAudioConfigInit

    ▸ PrivatefmliveswitchAudioConfigInit(): void

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/AudioConfig.ts:16


    getChannelCount

    ▸ getChannelCount(): number

    Gets the channel count.

    Returns: number

    Defined in: Generated/TypeScript/fm.liveswitch/AudioConfig.ts:47


    getClockRate

    ▸ getClockRate(): number

    Gets the clock rate.

    Returns: number

    Inherited from: MediaConfig

    Defined in: Generated/TypeScript/fm.liveswitch/MediaConfig.ts:44


    getTypeString

    ▸ getTypeString(): string

    Returns: string

    Overrides: MediaConfig

    Defined in: Generated/TypeScript/fm.liveswitch/AudioConfig.ts:10


    isEquivalent

    ▸ isEquivalent(config: AudioConfig): boolean

    Determines whether the specified configuration is equivalent.

    Parameters:

    Name Type Description
    config AudioConfig The configuration.

    Returns: boolean

    Overrides: MediaConfig

    Defined in: Generated/TypeScript/fm.liveswitch/AudioConfig.ts:60


    toString

    ▸ toString(): string

    Returns a string that represents this instance.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/AudioConfig.ts:84

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0