mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-10 05:27:01 +03:00
17 lines
396 B
C++
17 lines
396 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
#include "BaseCodec.h"
|
|
#include "AudioContainer.h"
|
|
|
|
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
|