FMLiveSwitchAudioConfig Class Reference

An audio configuration. More...

Instance Methods

(int) - channelCount
 Gets the channel count. More...
 
(NSString *) - description
 Returns a string that represents this instance. More...
 
(instancetype) - initWithClockRate:channelCount:
 Initializes a new instance of the FMLiveSwitchAudioConfig class. More...
 
(bool) - isEquivalentWithConfig:
 Determines whether the specified configuration is equivalent. More...
 
- Instance Methods inherited from FMLiveSwitchMediaConfig
(instancetype) - initWithClockRate:
 Initializes a new instance of the FMLiveSwitchMediaConfig`1 class. More...
 
(bool) - isEquivalentWithConfig:
 Determines whether the specified configuration is equivalent. More...
 

Class Methods

(FMLiveSwitchAudioConfig *) + audioConfigWithClockRate:channelCount:
 Initializes a new instance of the FMLiveSwitchAudioConfig class. More...
 
- Class Methods inherited from FMLiveSwitchMediaConfig
(FMLiveSwitchMediaConfig *) + mediaConfigWithClockRate:
 Initializes a new instance of the FMLiveSwitchMediaConfig`1 class. More...
 

Additional Inherited Members

- Protected Attributes inherited from FMLiveSwitchMediaConfig
 __pad0__: NSObject- (int) clockRate
 

Detailed Description

An audio configuration.

Method Documentation

◆ audioConfigWithClockRate:channelCount:

+ (FMLiveSwitchAudioConfig*) audioConfigWithClockRate: (int)  clockRate
channelCount: (int)  channelCount 

Initializes a new instance of the FMLiveSwitchAudioConfig class.

Parameters
clockRateThe clock rate.
channelCountThe channel count.

◆ channelCount

- (int) channelCount

Gets the channel count.

◆ description

- (NSString*) description

Returns a string that represents this instance.

◆ initWithClockRate:channelCount:

- (instancetype) initWithClockRate: (int)  clockRate
channelCount: (int)  channelCount 

Initializes a new instance of the FMLiveSwitchAudioConfig class.

Parameters
clockRateThe clock rate.
channelCountThe channel count.

◆ isEquivalentWithConfig:

- (bool) isEquivalentWithConfig: (FMLiveSwitchAudioConfig *)  config

Determines whether the specified configuration is equivalent.

Parameters
configThe configuration.