Commit 0a63c716 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

IAudio/IVideoTrack: Cosmetics

parent c13f38e2
......@@ -20,8 +20,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef IAUDIOTRACK_H
#define IAUDIOTRACK_H
#pragma once
#include "IMediaLibrary.h"
......@@ -30,20 +29,18 @@ namespace medialibrary
class IAudioTrack
{
public:
virtual ~IAudioTrack() {}
virtual int64_t id() const = 0;
virtual const std::string& codec() const = 0;
/**
* @return The bitrate in bits per second
*/
virtual unsigned int bitrate() const = 0;
virtual unsigned int sampleRate() const = 0;
virtual unsigned int nbChannels() const = 0;
virtual const std::string& language() const = 0;
virtual const std::string& description() const = 0;
public:
virtual ~IAudioTrack() = default;
virtual int64_t id() const = 0;
virtual const std::string& codec() const = 0;
/**
* @return The bitrate in bits per second
*/
virtual unsigned int bitrate() const = 0;
virtual unsigned int sampleRate() const = 0;
virtual unsigned int nbChannels() const = 0;
virtual const std::string& language() const = 0;
virtual const std::string& description() const = 0;
};
}
#endif // IAUDIOTRACK_H
......@@ -20,8 +20,7 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef IVIDEOTRACK_H
#define IVIDEOTRACK_H
#pragma once
#include "IMediaLibrary.h"
......@@ -30,17 +29,15 @@ namespace medialibrary
class IVideoTrack
{
public:
virtual ~IVideoTrack() {}
virtual int64_t id() const = 0;
virtual const std::string& codec() const = 0;
virtual unsigned int width() const = 0;
virtual unsigned int height() const = 0;
virtual float fps() const = 0;
virtual const std::string& description() const = 0;
virtual const std::string& language() const = 0;
public:
virtual ~IVideoTrack() = default;
virtual int64_t id() const = 0;
virtual const std::string& codec() const = 0;
virtual unsigned int width() const = 0;
virtual unsigned int height() const = 0;
virtual float fps() const = 0;
virtual const std::string& description() const = 0;
virtual const std::string& language() const = 0;
};
}
#endif // IVIDEOTRACK_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment