AvTranscoder  0.9.4
C++APIforLibav/FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AudioStat.hpp
Go to the documentation of this file.
1 #ifndef _AV_TRANSCODER_AUDIOSTAT_HPP
2 #define _AV_TRANSCODER_AUDIOSTAT_HPP
3 
5 
6 namespace avtranscoder
7 {
8 
9 /**
10  * @brief Statistics related to an audio stream.
11  */
12 class AvExport AudioStat
13 {
14 public:
15  AudioStat(const float duration, const size_t nbPackets)
16  : _duration(duration)
17  , _nbPackets(nbPackets)
18  {
19  }
20 
21 public:
22  float getDuration() const { return _duration; }
23  size_t getNbPackets() const { return _nbPackets; }
24 
25 private:
26  float _duration;
27  size_t _nbPackets;
28 };
29 }
30 
31 #endif
AudioStat(const float duration, const size_t nbPackets)
Definition: AudioStat.hpp:15
float getDuration() const
Definition: AudioStat.hpp:22
Statistics related to an audio stream.
Definition: AudioStat.hpp:12
size_t getNbPackets() const
Definition: AudioStat.hpp:23
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