|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::shared_ptr< Kakshya::DynamicSoundStream > MayaFlux::choose_audio_bounded | ( | uint64_t | max_frames = 0, |
| bool | truncate = false |
||
| ) |
Present a native open-file dialog filtered to audio formats and load the chosen file via IOManager::load_audio_bounded().
Blocks until the user confirms or cancels. Returns nullptr on cancellation, backend error, or if Portal::System is not initialized.
| max_frames | Upper bound on frame count. 0 loads five seconds. |
| truncate | If true, truncate files longer than max_frames. |
Definition at line 204 of file Depot.cpp.
References get_io_manager().
Referenced by create_sampler(), create_samplers(), and create_tap_set().
Here is the call graph for this function:
Here is the caller graph for this function: