How to Allocate on the Audio Thread and Why You Might Want To - Allocations Considered Beneficial
Offered By: ADC - Audio Developer Conference via YouTube
Course Description
Overview
Explore memory allocation techniques for the audio thread in this 39-minute conference talk from the Audio Developer Conference. Delve into the benefits of allocating memory on the audio thread, challenging traditional warnings against such practices. Learn how to leverage C++'s std::pmr namespace for low-latency audio processing, potentially expanding feature sets and improving code quality. Discover strategies for using custom allocators, implementing polymorphic allocators, and working with containers and collections. Examine performance benchmarks, solutions to common problems, and real-world use cases. Gain insights into free list allocation and address online questions to enhance your understanding of memory management in audio programming.
Syllabus
Intro
Audio thread latency
Why allocate memory
How to use your own allocators
Vector of T
PMR
Memory Resource Header
Abstract Base Class
Polymorphic Allocator
Type Depths
Interface Overview
Concrete Types
Upstream Resource
Pool
Polymorphic Alligator
Propagationallocate
Containers and Collections
Unit Tests
The Ultimate Problem
Solutions
Performance
Benchmarking
More Resources
Thank You
Comments
Questions
Use Cases
Free List
Online Questions
Taught by
ADC - Audio Developer Conference
Related Courses
Building an Accessible JUCE AppADC - Audio Developer Conference via YouTube Why You Shouldn't Write a Digital Audio Workstation (DAW) - Technical Challenges and Alternatives
ADC - Audio Developer Conference via YouTube Vars, Values and ValueTrees: State Management in JUCE
ADC - Audio Developer Conference via YouTube Introduction to Inclusive Design of Audio Products - Accessibility Workshop
ADC - Audio Developer Conference via YouTube Virtual Studio Production Tools with AI-Driven Personalized Spatial Audio for Immersive Mixing
ADC - Audio Developer Conference via YouTube