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)gain
Parameters
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 *)audioBuffer
Discussion
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 *)format
Parameters
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 *)format
Parameters
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)calculateLevel
Discussion
Calculates the level of this instance.
Declared In
FMIceLinkAudioBuffer.h
– clone
Clones this instance.
- (FMIceLinkAudioBuffer *)clone
Discussion
Clones this instance.
Declared In
FMIceLinkAudioBuffer.h
– createInstance
Creates a new instance.
- (FMIceLinkAudioBuffer *)createInstance
Discussion
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)generatedByPlc
Discussion
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)init
Discussion
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 *)format
Parameters
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 *)format
Parameters
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)isDtmf
Discussion
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)isMuted
Discussion
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)isOpus
Discussion
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)isPcm
Discussion
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)isPcma
Discussion
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)isPcmu
Discussion
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)mute
Discussion
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)value
Discussion
Sets a value indicating whether this buffer contains
data generated by packet loss concealment (PLC).
Declared In
FMIceLinkAudioBuffer.h