remove stb_vorbis
it doesnt work very well
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
# SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
idf_component_register(
|
||||
SRCS "codec.cpp" "mad.cpp" "foxenflac.cpp" "stbvorbis.cpp"
|
||||
SRCS "codec.cpp" "mad.cpp" "foxenflac.cpp"
|
||||
INCLUDE_DIRS "include"
|
||||
REQUIRES "result" "span" "libmad" "libfoxenflac" "stb_vorbis")
|
||||
REQUIRES "result" "span" "libmad" "libfoxenflac")
|
||||
|
||||
target_compile_options("${COMPONENT_LIB}" PRIVATE ${EXTRA_WARNINGS})
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
#include "foxenflac.hpp"
|
||||
#include "mad.hpp"
|
||||
#include "stbvorbis.hpp"
|
||||
#include "types.hpp"
|
||||
|
||||
namespace codecs {
|
||||
@@ -22,8 +21,6 @@ auto CreateCodecForType(StreamType type) -> std::optional<ICodec*> {
|
||||
return new MadMp3Decoder();
|
||||
case StreamType::kFlac:
|
||||
return new FoxenFlacDecoder();
|
||||
case StreamType::kVorbis:
|
||||
return new StbVorbisDecoder();
|
||||
default:
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user