mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 11:59:58 -05:00
Initial community commit
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* StreamEncoder.h
|
||||
* ---------------
|
||||
* Purpose: Exporting streamed music files.
|
||||
* Notes : none
|
||||
* Authors: Joern Heusipp
|
||||
* OpenMPT Devs
|
||||
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "openmpt/all/BuildSettings.hpp"
|
||||
|
||||
#include "StreamEncoder.h"
|
||||
|
||||
|
||||
OPENMPT_NAMESPACE_BEGIN
|
||||
|
||||
|
||||
class VorbisEncoder : public EncoderFactoryBase
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
std::unique_ptr<IAudioStreamEncoder> ConstructStreamEncoder(std::ostream &file, const Encoder::Settings &settings, const FileTags &tags) const override;
|
||||
bool IsBitrateSupported(int samplerate, int channels, int bitrate) const override;
|
||||
mpt::ustring DescribeQuality(float quality) const override;
|
||||
bool IsAvailable() const override;
|
||||
|
||||
public:
|
||||
|
||||
VorbisEncoder();
|
||||
|
||||
};
|
||||
|
||||
|
||||
OPENMPT_NAMESPACE_END
|
Reference in New Issue
Block a user