VoiceSDK  5.0.2
opusutils.h
Go to the documentation of this file.
1 /* Copyright 2022 ID R&D Inc. All Rights Reserved. */
2 
3 #pragma once
4 
5 #include <vector>
6 #include <fstream>
7 #include <voicesdk/core/config.h>
8 
9 namespace voicesdk {
10 
23  static std::vector<int16_t> readAsPCM16Samples(const uint8_t* data, size_t dataSize, size_t& sampleRate);
24 };
25 
26 } // namespace voicesdk
Class with some static utility functions for working with Opus files data.
Definition: opusutils.h:14
Definition: intervals.h:8
#define VOICE_SDK_API
Definition: config.h:21