MLT  7.38.0
Multimedia Framework
MltAudio.h
Go to the documentation of this file.
1 
20 #ifndef MLTPP_AUDIO_H
21 #define MLTPP_AUDIO_H
22 
23 #include "MltConfig.h"
24 
25 #include <framework/mlt.h>
26 
27 namespace Mlt {
37 {
38 private:
40 
41 public:
42  Audio();
43  Audio(mlt_audio audio);
44  virtual ~Audio();
45  void *data();
46  void set_data(void *data);
47  int frequency();
48  void set_frequency(int frequency);
49  mlt_audio_format format();
50  void set_format(mlt_audio_format format);
51  int samples();
52  void set_samples(int samples);
53  int channels();
54  void set_channels(int channels);
55  mlt_channel_layout layout();
56  void set_layout(mlt_channel_layout layout);
57 };
58 } // namespace Mlt
59 
60 #endif
#define MLTPP_DECLSPEC
MltConfig.h - Convenience header file for all mlt++ objects Copyright (C) 2004-2026 Meltytech,...
Definition: MltConfig.h:33
C++ wrapper for mlt_audio — a block of decoded audio samples.
Definition: MltAudio.h:37
mlt_audio instance
Definition: MltAudio.h:39
header file for lazy client and implementation code :-)
mlt_channel_layout
Definition: mlt_types.h:67
mlt_audio_format
The set of supported audio formats.
Definition: mlt_types.h:57
MLT C++ wrapper Copyright (C) 2015-2026 Meltytech, LLC.
Definition: MltAnimation.h:27
Audio class.
Definition: mlt_audio.h:35