From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/mp3-mpg123/NSVFactory.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Src/mp3-mpg123/NSVFactory.h (limited to 'Src/mp3-mpg123/NSVFactory.h') diff --git a/Src/mp3-mpg123/NSVFactory.h b/Src/mp3-mpg123/NSVFactory.h new file mode 100644 index 00000000..5c1245ac --- /dev/null +++ b/Src/mp3-mpg123/NSVFactory.h @@ -0,0 +1,19 @@ +#pragma once +#include "../nsv/svc_nsvFactory.h" + +// {66AFC6B1-BFFD-49e2-BA71-62009F5266B0} +static const GUID mp3_nsv_guid = +{ 0x66afc6b1, 0xbffd, 0x49e2, { 0xba, 0x71, 0x62, 0x0, 0x9f, 0x52, 0x66, 0xb0 } }; + + +class NSVFactory : public svc_nsvFactory +{ +public: + static const char *getServiceName() { return "MP3 NSV Decoder"; } + static GUID getServiceGuid() { return mp3_nsv_guid; } + IAudioDecoder *CreateAudioDecoder(FOURCC format, IAudioOutput **output) override; + +protected: + RECVS_DISPATCH; +}; + -- cgit