Audacity 3.2.0
AudioContainer.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*!********************************************************************
3
4 Audacity: A Digital Audio Editor
5
6 AudioContainer.h
7
8 Matthieu Hodgkinson
9
10**********************************************************************/
11#pragma once
12
13#include <vector>
14
15struct TIME_AND_PITCH_API AudioContainer final
16{
17 AudioContainer(int numSamplesPerChannel, int numChannels);
18 float* const* Get() const;
19 std::vector<std::vector<float>> channelVectors;
20 std::vector<float*> channelPointers;
21};
Services * Get()
Fetch the global instance, or nullptr if none is yet installed.
Definition: BasicUI.cpp:202
std::vector< float * > channelPointers
std::vector< std::vector< float > > channelVectors