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, int track_pos, int lane_pos, int idx_inside_lane) -> ZRegion*
Creates a ZRegion for audio data.
auto audio_region_get_clip(const ZRegion* self) -> AudioClip*
Returns the audio clip associated with the Region.
void audio_region_free_members(ZRegion* self)
Frees members only but not the audio region itself.