|
DSPark 1.8.0
Header-only C++20 DSP for real-time and offline audio
|
#include <Reverb.h>
Public Types | |
| enum class | Phase : std::uint32_t { free = 0u , building = 1u , published = 2u , active = 3u , retired = 4u , exhausted = 5u } |
| enum class | PublishResult { published , noCapacity , invariantViolation } |
Public Member Functions | |
| ReverbBankPublisher () noexcept=default | |
| ~ReverbBankPublisher () noexcept | |
| ReverbBankPublisher (const ReverbBankPublisher &)=delete | |
| ReverbBankPublisher & | operator= (const ReverbBankPublisher &)=delete |
| ReverbBankPublisher (ReverbBankPublisher &&)=delete | |
| ReverbBankPublisher & | operator= (ReverbBankPublisher &&)=delete |
| template<typename Commit > | |
| PublishResult | publish (std::unique_ptr< Bank > candidate, std::uint32_t latency, Commit &&commit) noexcept |
| Bank * | adoptAtBoundary () noexcept |
| Bank * | pinLatest () noexcept |
| bool | isLoaded () const noexcept |
| int | latency () const noexcept |
| void | shutdown () noexcept |
| std::uint32_t | stateWordForTest (std::size_t index) const noexcept |
| std::uint32_t | pendingTokenForTest () const noexcept |
| std::uint32_t | activeTokenForTest () const noexcept |
| std::uint32_t | latestTokenForTest () const noexcept |
| std::uint32_t | pinnedTokenForTest () const noexcept |
| std::size_t | residentBanksForTest () const noexcept |
| const void * | atomicWordAddressForTest (std::size_t index) const noexcept |
Static Public Member Functions | |
| static constexpr std::size_t | atomicWordCountForTest () noexcept |
| static constexpr Phase | phaseForTest (std::uint32_t state) noexcept |
| static constexpr std::uint32_t | generationForTest (std::uint32_t state) noexcept |
Fixed-capacity ownership handoff used by Reverb.
The audio owner performs one pending-token exchange and never constructs, destroys, scans or reference-counts a bank. The serialized control owner alone constructs and reclaims the four slot-owned banks.
|
strong |
|
strong |
|
defaultnoexcept |
|
inlinenoexcept |
|
delete |
|
delete |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
delete |
|
delete |
|
inlinenoexcept |
|
inlinestaticconstexprnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |