mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-07 20:17:04 +03:00
18 lines
508 B
C++
18 lines
508 B
C++
#pragma once
|
|
|
|
#include <memory> // for shared_ptr
|
|
|
|
#include "AudioContainer.h" // for AudioContainer
|
|
#include "BaseCodec.h" // for BaseCodec
|
|
#include "CodecType.h" // for AudioCodec
|
|
|
|
namespace bell {
|
|
class AudioCodecs {
|
|
public:
|
|
static std::shared_ptr<BaseCodec> getCodec(AudioCodec type);
|
|
static std::shared_ptr<BaseCodec> getCodec(AudioContainer* container);
|
|
static void addCodec(AudioCodec type,
|
|
const std::shared_ptr<BaseCodec>& codec);
|
|
};
|
|
} // namespace bell
|