fm.liveswitch.AudioConfig Class Reference

An audio configuration. More...

Public Member Functions

 AudioConfig (int clockRate, int channelCount)
 Initializes a new instance of the fm.liveswitch.AudioConfig class. More...
 
int getChannelCount ()
 Gets the channel count. More...
 
boolean isEquivalent (fm.liveswitch.AudioConfig config)
 Determines whether the specified configuration is equivalent. More...
 
String toString ()
 Returns a string that represents this instance. More...
 

Detailed Description

An audio configuration.

Constructor & Destructor Documentation

◆ AudioConfig()

fm.liveswitch.AudioConfig.AudioConfig ( int  clockRate,
int  channelCount 
)

Initializes a new instance of the fm.liveswitch.AudioConfig class.

Parameters
clockRateThe clock rate.
channelCountThe channel count.

Member Function Documentation

◆ getChannelCount()

int fm.liveswitch.AudioConfig.getChannelCount ( )

Gets the channel count.

◆ isEquivalent()

boolean fm.liveswitch.AudioConfig.isEquivalent ( fm.liveswitch.AudioConfig  config)

Determines whether the specified configuration is equivalent.

Parameters
configThe configuration.

◆ toString()

String fm.liveswitch.AudioConfig.toString ( )

Returns a string that represents this instance.