NAP
audiofileutils.h
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4 
5 #pragma once
6 
7 // std library includes
8 #include <string>
9 
10 // nap includes
11 #include <audio/utility/audiotypes.h>
12 #include <utility/errorstate.h>
13 
14 namespace nap
15 {
16 
17  namespace audio
18  {
19 
28  bool NAPAPI readAudioFile(const std::string& fileName, MultiSampleBuffer& output, float& outSampleRate, nap::utility::ErrorState& errorState);
29 
30  }
31 
32 }
nap::utility::ErrorState
Definition: errorstate.h:19
nap::audio::readAudioFile
bool NAPAPI readAudioFile(const std::string &fileName, MultiSampleBuffer &output, float &outSampleRate, nap::utility::ErrorState &errorState)
nap
Definition: templateapp.h:17