FMIceLinkAudioBuffer Class Reference
| Inherits from | FMIceLinkMediaBuffer : FMIceLinkDynamic : FMIceLinkSerializable : NSObject | 
|---|---|
| Conforms to | * FMIceLinkAudioBuffer FMIceLinkAudioFormat  | 
| Declared in | FMIceLinkAudioBuffer.h FMIceLinkAudioBuffer.m  | 
– applyGain:
	
Applies [gain](#//api/name/gain) to this instance.
			- (void)applyGain:(double)gainParameters
gain | 
						The gain.  | 
					
|---|
Discussion
Applies [gain](#//api/name/gain) to this instance.
			Declared In
FMIceLinkAudioBuffer.h
+ audioBuffer
	
Initializes a new instance of the FMIceLinkAudioBuffer class.
			+ (FMIceLinkAudioBuffer *)audioBufferDiscussion
Initializes a new instance of the FMIceLinkAudioBuffer class.
			Declared In
FMIceLinkAudioBuffer.h
+ audioBufferWithDataBuffer:format:
	
Initializes a new instance of the FMIceLinkAudioBuffer class.
			+ (FMIceLinkAudioBuffer *)audioBufferWithDataBuffer:(FMIceLinkDataBuffer *)dataBuffer format:(FMIceLinkAudioFormat *)formatParameters
dataBuffer | 
						The data buffer.  | 
					
|---|---|
format | 
						The format.  | 
					
Discussion
Initializes a new instance of the FMIceLinkAudioBuffer class.
			Declared In
FMIceLinkAudioBuffer.h
+ audioBufferWithDataBuffers:format:
	
Initializes a new instance of the FMIceLinkAudioBuffer class.
			+ (FMIceLinkAudioBuffer *)audioBufferWithDataBuffers:(NSMutableArray *)dataBuffers format:(FMIceLinkAudioFormat *)formatParameters
dataBuffers | 
						The data buffers.  | 
					
|---|---|
format | 
						The format.  | 
					
Discussion
Initializes a new instance of the FMIceLinkAudioBuffer class.
			Declared In
FMIceLinkAudioBuffer.h
– calculateLevel
	
Calculates the level of this instance.
			- (double)calculateLevelDiscussion
Calculates the level of this instance.
			Declared In
FMIceLinkAudioBuffer.h
– clone
	
Clones this instance.
			- (FMIceLinkAudioBuffer *)cloneDiscussion
Clones this instance.
			Declared In
FMIceLinkAudioBuffer.h
– createInstance
	
Creates a new instance.
			- (FMIceLinkAudioBuffer *)createInstanceDiscussion
Creates a new instance.
			Declared In
FMIceLinkAudioBuffer.h
– generatedByPlc
	
Gets a value indicating whether this buffer contains
data generated by packet loss concealment (PLC).
			- (bool)generatedByPlcDiscussion
Gets a value indicating whether this buffer contains
data generated by packet loss concealment (PLC).
			Declared In
FMIceLinkAudioBuffer.h
– init
	
Initializes a new instance of the FMIceLinkAudioBuffer class.
			- (instancetype)initDiscussion
Initializes a new instance of the FMIceLinkAudioBuffer class.
			Declared In
FMIceLinkAudioBuffer.h
– initWithDataBuffer:format:
	
Initializes a new instance of the FMIceLinkAudioBuffer class.
			- (instancetype)initWithDataBuffer:(FMIceLinkDataBuffer *)dataBuffer format:(FMIceLinkAudioFormat *)formatParameters
dataBuffer | 
						The data buffer.  | 
					
|---|---|
format | 
						The format.  | 
					
Discussion
Initializes a new instance of the FMIceLinkAudioBuffer class.
			Declared In
FMIceLinkAudioBuffer.h
– initWithDataBuffers:format:
	
Initializes a new instance of the FMIceLinkAudioBuffer class.
			- (instancetype)initWithDataBuffers:(NSMutableArray *)dataBuffers format:(FMIceLinkAudioFormat *)formatParameters
dataBuffers | 
						The data buffers.  | 
					
|---|---|
format | 
						The format.  | 
					
Discussion
Initializes a new instance of the FMIceLinkAudioBuffer class.
			Declared In
FMIceLinkAudioBuffer.h
– isDtmf
	
Gets a value indicating whether this buffer has DTMF data.
			- (bool)isDtmfDiscussion
Gets a value indicating whether this buffer has DTMF data.
			Declared In
FMIceLinkAudioBuffer.h
– isMuted
	
Gets a value indicating whether this instance has been muted.
			- (bool)isMutedDiscussion
Gets a value indicating whether this instance has been muted.
			Declared In
FMIceLinkAudioBuffer.h
– isOpus
	
Gets a value indicating whether this buffer has Opus audio.
			- (bool)isOpusDiscussion
Gets a value indicating whether this buffer has Opus audio.
			Declared In
FMIceLinkAudioBuffer.h
– isPcm
	
Gets a value indicating whether this buffer has raw PCM audio.
			- (bool)isPcmDiscussion
Gets a value indicating whether this buffer has raw PCM audio.
			Declared In
FMIceLinkAudioBuffer.h
– isPcma
	
Gets a value indicating whether this buffer has PCMA audio.
			- (bool)isPcmaDiscussion
Gets a value indicating whether this buffer has PCMA audio.
			Declared In
FMIceLinkAudioBuffer.h
– isPcmu
	
Gets a value indicating whether this buffer has PCMU audio.
			- (bool)isPcmuDiscussion
Gets a value indicating whether this buffer has PCMU audio.
			Declared In
FMIceLinkAudioBuffer.h
– mute
	
Mutes this instance. This is a one-way operation that clears
the underlying data buffer.
			- (bool)muteDiscussion
Mutes this instance. This is a one-way operation that clears
the underlying data buffer.
			Declared In
FMIceLinkAudioBuffer.h
– setGeneratedByPlc:
	
Sets a value indicating whether this buffer contains
data generated by packet loss concealment (PLC).
			- (void)setGeneratedByPlc:(bool)valueDiscussion
Sets a value indicating whether this buffer contains
data generated by packet loss concealment (PLC).
			Declared In
FMIceLinkAudioBuffer.h