DSPark 1.8.0
Header-only C++20 DSP for real-time and offline audio
Loading...
Searching...
No Matches
dspark::detail::OfflineSession Class Referencefinal

#include <OfflineProcessing.h>

Public Member Functions

 OfflineSession (const OfflineJobOptions &options)
 
void charge (std::size_t bytes)
 
template<typename U >
std::unique_ptr< U[]> allocate (std::uint64_t count)
 
void useScratchResource (std::pmr::memory_resource &resource) noexcept
 
template<typename U >
OfflineScratchArray< U > allocateScratch (std::uint64_t count)
 
std::size_t bytes () const noexcept
 
void checkpoint (OfflinePhase phase, std::int64_t completed, std::int64_t total) const
 

Detailed Description

Definition at line 314 of file OfflineProcessing.h.

Constructor & Destructor Documentation

◆ OfflineSession()

dspark::detail::OfflineSession::OfflineSession ( const OfflineJobOptions &  options)
inlineexplicit

Definition at line 317 of file OfflineProcessing.h.

Member Function Documentation

◆ allocate()

template<typename U >
std::unique_ptr< U[]> dspark::detail::OfflineSession::allocate ( std::uint64_t  count)
inline

Definition at line 328 of file OfflineProcessing.h.

◆ allocateScratch()

template<typename U >
OfflineScratchArray< U > dspark::detail::OfflineSession::allocateScratch ( std::uint64_t  count)
inline

Definition at line 339 of file OfflineProcessing.h.

◆ bytes()

std::size_t dspark::detail::OfflineSession::bytes ( ) const
inlinenoexcept

Definition at line 356 of file OfflineProcessing.h.

◆ charge()

void dspark::detail::OfflineSession::charge ( std::size_t  bytes)
inline

Definition at line 322 of file OfflineProcessing.h.

◆ checkpoint()

void dspark::detail::OfflineSession::checkpoint ( OfflinePhase  phase,
std::int64_t  completed,
std::int64_t  total 
) const
inline

Definition at line 360 of file OfflineProcessing.h.

◆ useScratchResource()

void dspark::detail::OfflineSession::useScratchResource ( std::pmr::memory_resource &  resource)
inlinenoexcept

Definition at line 335 of file OfflineProcessing.h.


The documentation for this class was generated from the following file: