SIP Endpoint SDK for OS X
 All Classes Functions Properties
GSAudioFrame Class Reference

#import <GSAudioFrame.h>

List of all members.

Properties

int direction
NSMutableArray * samples
int length
int samplingFrequency
bool isStereo
int serialNumber
int frequency

Detailed Description

Audio stream frame

Definition at line 13 of file GSAudioFrame.h.


Property Documentation

- (int) direction
readwritenonatomicassign

This property is used to store the audio stream frame direction

value 1 microphone frame value 2 speaker frame value 3 microphone and speaker frames

Definition at line 15 of file GSAudioFrame.h.

- (int) frequency
readwritenonatomicassign

This property is used to store the calculated frequency of the currently monitoring stream used for testing purposes gives average value

sampling frequency depends on the currently used audio codec

Definition at line 22 of file GSAudioFrame.h.

- (bool) isStereo
readwritenonatomicassign

This property is used to store the value to indicate stereo content

value True the frame represent stereo content value False the frame represent mono content

Definition at line 19 of file GSAudioFrame.h.

- (int) length
readwritenonatomicassign

This property is used to store the size of audio stream samples array

length = samplingFrequency / 100 * (isStereo ? 2 : 1)

See also:
samplingFrequency
isStereo

Definition at line 17 of file GSAudioFrame.h.

- (NSMutableArray *) samples
readwritenonatomicretain

This property is used to store the array with 16-bit PCM data samples

if isStereo == TRUE then data will have interleaved stereo format: L0,R0,L1,R1,... array size = length property

See also:
length

Definition at line 16 of file GSAudioFrame.h.

- (int) samplingFrequency
readwritenonatomicassign

This property is used to store the sampling frequency

sampling frequency depends on the currently used audio codec

Definition at line 18 of file GSAudioFrame.h.

- (int) serialNumber
readwritenonatomicassign

This property is used to store the incremental frame serial number in the currently monitoring stream

sampling frequency depends on the currently used audio codec

Definition at line 21 of file GSAudioFrame.h.


The documentation for this class was generated from the following file: