#import <frames.h>
|
const void * | data |
| The audio data containing raw audio samples.
|
|
int | bitsPerSample |
| The number of bits per audio sample.
|
|
int | sampleRate |
| The sample rate of the audio data, which is either 48kHz or 44.1kHz.
|
|
size_t | channelNumber |
| The number of audio channels defining whether the audio is mono, stereo, or has more complex channel configurations.
|
|
size_t | frameNumber |
| The number of frames in the data array. The number of frames is dependent on the sample rate and chunk time.
|
|
Audio frame that contains audio data. Used with MCCustomAudioSource/onAudioFrame:
to feed custom audio frames into source used by a MCPublisher
.
frame.
data = UnsafeRawPointer(audioData)
source.onAudioFrame(frame)
int bitsPerSample
The number of bits per audio sample.
Definition frames.h:73
size_t frameNumber
The number of frames in the data array. The number of frames is dependent on the sample rate and chun...
Definition frames.h:82
const void * data
The audio data containing raw audio samples.
Definition frames.h:70
size_t channelNumber
The number of audio channels defining whether the audio is mono, stereo, or has more complex channel ...
Definition frames.h:79
int sampleRate
The sample rate of the audio data, which is either 48kHz or 44.1kHz.
Definition frames.h:76
Responsible for building MCCustomAudioSource.
Definition source.h:255
◆ bitsPerSample
The number of bits per audio sample.
◆ channelNumber
The number of audio channels defining whether the audio is mono, stereo, or has more complex channel configurations.
◆ data
The audio data containing raw audio samples.
◆ frameNumber
The number of frames in the data array. The number of frames is dependent on the sample rate and chunk time.
◆ sampleRate
The sample rate of the audio data, which is either 48kHz or 44.1kHz.
The documentation for this class was generated from the following file: