diff options
author | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
---|---|---|
committer | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
commit | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/mp3-mpg123/NSVFactory.h | |
parent | 537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff) | |
download | winamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz |
Initial community commit
Diffstat (limited to 'Src/mp3-mpg123/NSVFactory.h')
-rw-r--r-- | Src/mp3-mpg123/NSVFactory.h | 19 |
1 files changed, 19 insertions, 0 deletions
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; +}; + |