FileDecoder.h 742 B

123456789101112131415161718
  1. #pragma once
  2. #include "decode/svc_decode.h"
  3. #include "nswasabi/ServiceName.h"
  4. // {F07160ED-2820-4DA5-9CE9-857A4CD9DFA0}
  5. static const GUID file_decoder_guid =
  6. { 0xf07160ed, 0x2820, 0x4da5, { 0x9c, 0xe9, 0x85, 0x7a, 0x4c, 0xd9, 0xdf, 0xa0 } };
  7. class FileDecoderService : public svc_decode
  8. {
  9. public:
  10. WASABI_SERVICE_NAME("File Decoder");
  11. WASABI_SERVICE_GUID(file_decoder_guid);
  12. private:
  13. int WASABICALL DecodeService_CreateAudioDecoder_Callback(unsigned int pass, ifc_audio_decoder_callback **decoder, nx_uri_t filename, nsaudio::Parameters *parameters, int flags);
  14. int WASABICALL DecodeService_CreateAudioDecoder_Pull(unsigned int pass, ifc_audio_decoder_pull **decoder, nx_uri_t filename, nsaudio::Parameters *parameters, int flags);
  15. };