AvTranscoder  0.9.4
C++APIforLibav/FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AudioTransform.hpp
Go to the documentation of this file.
1 #ifndef _AV_TRANSCODER_ESSENCE_TRANSFORM_AUDIO_ESSENCE_TRANSFORM_HPP
2 #define _AV_TRANSCODER_ESSENCE_TRANSFORM_AUDIO_ESSENCE_TRANSFORM_HPP
3 
4 #include "ITransform.hpp"
5 
8 
9 #ifdef AVTRANSCODER_LIBAV_DEPENDENCY
10 #define ResampleContext AVAudioResampleContext
11 #else
12 #define ResampleContext SwrContext
13 #endif
14 
15 class ResampleContext;
16 
17 namespace avtranscoder
18 {
19 
20 class AvExport AudioTransform : public ITransform
21 {
22 private:
23  AudioTransform(const AudioTransform& audioTransform);
24  AudioTransform& operator=(const AudioTransform& audioTransform);
25 
26 public:
28  ~AudioTransform();
29 
30  void convert(const Frame& srcFrame, Frame& dstFrame);
31 
32 private:
33  bool init(const Frame& srcFrame, const Frame& dstFrame);
34 
35 private:
37 
38  bool _isInit;
39 };
40 }
41 
42 #endif
#define ResampleContext
This class describes decoded (raw) audio or video data.
Definition: Frame.hpp:16
ResampleContext * _audioConvertContext
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy