Audacity 3.2.0
Namespaces | Functions
WaveClipUtilities.h File Reference
#include "WaveTrack.h"
#include <cstddef>
Include dependency graph for WaveClipUtilities.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  WaveClipUtilities
 

Functions

WAVE_TRACK_API bool WaveClipUtilities::GetFloatAtTime (const WaveClip &clip, double t, size_t iChannel, float &value, bool mayThrow)
 
WAVE_TRACK_API void WaveClipUtilities::SetFloatsFromTime (WaveClip &clip, double t, size_t iChannel, const float *buffer, size_t numSamples, sampleFormat effectiveFormat)
 Considers buffer as audio starting at TimeToSamples(t) (relative to clip play start time) and with equal stretch ratio. Samples at intersecting indices are then copied, leaving non-intersecting clip samples untouched. E.g., buffer: [a b c d e] clip : [x y z] result: [d e z]. More...
 
WAVE_TRACK_API bool WaveClipUtilities::SharesBoundaryWithNextClip (const WaveTrack::Interval &prev, const WaveTrack::Interval &next)
 used by commands which interact with clips using the keyboard More...