Loading...
Searching...
No Matches
Media::AudioFile::ViewHandle Struct Reference
Inheritance diagram for Media::AudioFile::ViewHandle:
Public Member Functions | |
| ViewHandle (const Handle &) | |
| void | frame (int64_t start_frame, ossia::small_vector< float, 8 > &out) noexcept |
| void | absmax_frame (int64_t start_frame, int64_t end_frame, ossia::small_vector< float, 8 > &out) noexcept |
| void | minmax_frame (int64_t start_frame, int64_t end_frame, ossia::small_vector< FloatPair, 8 > &out) noexcept |
| bool | supports_summary () const noexcept |
| Asked before the table is sized, so an unsupported source costs nothing. | |
| bool | build_summary (WaveformSummary &s) noexcept |
Reduces the whole source into s. False if it could not be read. | |
Public Attributes | |
| std::shared_ptr< const WaveformSummary > | summary |
Member Data Documentation
◆ summary
| std::shared_ptr<const WaveformSummary> Media::AudioFile::ViewHandle::summary |
Takes the fast path in minmax_frame. Not filled in by AudioFile::handle(): the shared_ptr copy would be on the audio thread.
The documentation for this struct was generated from the following files:
- MediaFileHandle.hpp
- MediaFileHandle.cpp
- MediaFileHandle.waveform.cpp