|
MXL : Media eXchange Layer
MXL
|
An audio bounce buffer entry is backed by a collection of samples The layout is: AudioEntryHeader, followed by samples. More...
#include <AudioBounceBuffer.hpp>
Public Member Functions | |
| AudioBounceBufferEntry (std::uint32_t size) | |
| Construct an AudioBounceBufferEntry with the given size in bytes. The size should be large enough to hold the samples for all channels of a given batch size. | |
| std::uint8_t const * | data () const noexcept |
| Return a view to the beginning of the bounce buffer entry data. | |
| AudioEntryHeader const * | header () const noexcept |
| Return a view on the header of the bounce buffer entry. | |
| std::uint8_t const * | samples () const noexcept |
| Return a view to the samples data of the bounce buffer entry. | |
| std::size_t | size () const noexcept |
| The total size of the bounce buffer entry in bytes. | |
Private Attributes | |
| std::vector< std::uint8_t > | _data |
An audio bounce buffer entry is backed by a collection of samples The layout is: AudioEntryHeader, followed by samples.
Definition at line 23 of file AudioBounceBuffer.hpp.
|
explicit |
Construct an AudioBounceBufferEntry with the given size in bytes. The size should be large enough to hold the samples for all channels of a given batch size.
Definition at line 34 of file AudioBounceBuffer.cpp.
|
nodiscardnoexcept |
Return a view to the beginning of the bounce buffer entry data.
Definition at line 49 of file AudioBounceBuffer.cpp.
|
nodiscardnoexcept |
Return a view on the header of the bounce buffer entry.
Definition at line 38 of file AudioBounceBuffer.cpp.
|
nodiscardnoexcept |
Return a view to the samples data of the bounce buffer entry.
Definition at line 44 of file AudioBounceBuffer.cpp.
|
nodiscardnoexcept |
The total size of the bounce buffer entry in bytes.
Definition at line 54 of file AudioBounceBuffer.cpp.
|
private |
Definition at line 54 of file AudioBounceBuffer.hpp.