MP4Decoder.h 745 B

123456789101112131415161718192021222324
  1. //
  2. // MP4Decoder.h
  3. //
  4. // Created by Ben Allison on 1/17/12.
  5. // Copyright (c) 2012 Nullsoft, Inc. All rights reserved.
  6. //
  7. #pragma once
  8. #include "file/svc_filedecode.h"
  9. #include "nswasabi/ServiceName.h"
  10. // {7EDB2571-AA99-4DF0-8247-A7846B338B04}
  11. static const GUID mp4_file_decoder_guid =
  12. { 0x7edb2571, 0xaa99, 0x4df0, { 0x82, 0x47, 0xa7, 0x84, 0x6b, 0x33, 0x8b, 0x4 } };
  13. class MP4Decoder : public svc_filedecode
  14. {
  15. public:
  16. WASABI_SERVICE_NAME("MP4 File Decoder");
  17. WASABI_SERVICE_GUID(mp4_file_decoder_guid);
  18. private:
  19. ns_error_t WASABICALL FileDecodeService_CreateAudioDecoder_Callback(ifc_audio_decoder_callback **decoder, nx_uri_t filename, nx_file_t file, ifc_metadata *parent_metadata, nsaudio::Parameters *parameters, int flags);
  20. };