Audacity
3.2.0
libraries
lib-time-and-pitch
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
15
struct
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
};
BasicUI::Get
Services * Get()
Fetch the global instance, or nullptr if none is yet installed.
Definition:
BasicUI.cpp:202
AudioContainer
Definition:
AudioContainer.h:16
AudioContainer::channelPointers
std::vector< float * > channelPointers
Definition:
AudioContainer.h:20
AudioContainer::channelVectors
std::vector< std::vector< float > > channelVectors
Definition:
AudioContainer.h:19
Generated by
1.9.3