![]() |
Audacity 3.2.0
|
A generalization for audio segments, whether clips or silence between clips. More...
#include <AudioSegment.h>
Public Member Functions | |
| virtual | ~AudioSegment () |
| virtual size_t | GetFloats (float *const *buffers, size_t numSamples)=0 |
Fills buffers with as many as numSamples or the number of remaining samples, whichever is smaller. More... | |
| virtual size_t | NChannels () const =0 |
| The number of channels in the segment. More... | |
| virtual bool | Empty () const =0 |
| Whether the segment has no more samples to provide. More... | |
A generalization for audio segments, whether clips or silence between clips.
Audacity: A Digital Audio Editor
Matthieu Hodgkinson
Definition at line 22 of file AudioSegment.h.
|
virtualdefault |
|
pure virtual |
Whether the segment has no more samples to provide.
Implemented in ClipSegment, SilenceSegment, and NiceAudioSegment.
|
pure virtual |
Fills buffers with as many as numSamples or the number of remaining samples, whichever is smaller.
| buffers | Pointers to buffers, one for each channel. |
| numSamples | The max. number of samples to write to each buffer. |
Implemented in NiceAudioSegment, ClipSegment, and SilenceSegment.
|
pure virtual |
The number of channels in the segment.
Implemented in ClipSegment, SilenceSegment, and NiceAudioSegment.