audio/audio_region.h file

API for Regions inside audio Track's.



auto audio_region_new(const int pool_id, const char* filename, const float* frames, const long nframes, const channels_t channels, const Position* start_pos, const int is_main) -> AudioRegion*
Creates a Region for audio data.
auto audio_region_get_clip(const Region* self) -> AudioClip*
Returns the audio clip associated with the Region.
void audio_region_free_members(AudioRegion* self)
Frees members only but not the audio region itself.