Files
squeezelite-esp32/components/spotify/cspot/bell/main/audio-codec/include/AudioCodecs.h
2023-05-06 23:50:26 +02:00

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