OutputPluginAudioStream.h 586 B

123456789101112131415161718192021222324
  1. #ifndef NULLSOFT_WINAMP_OUTPUTPLUGINAUDIOSTREAM_H
  2. #define NULLSOFT_WINAMP_OUTPUTPLUGINAUDIOSTREAM_H
  3. #include "../Agave/DecodeFile/ifc_audiostream.h"
  4. #include "in2.h"
  5. #include "../Agave/DecodeFile/api_decodefile.h"
  6. #include "CommonReader.h"
  7. class OutputPluginAudioStream : public CommonReader
  8. {
  9. public:
  10. OutputPluginAudioStream();
  11. ~OutputPluginAudioStream();
  12. bool Open(In_Module *in, const wchar_t *filename, AudioParameters *parameters);
  13. size_t ReadAudio(void *buffer, size_t sizeBytes);
  14. protected:
  15. RECVS_DISPATCH;
  16. size_t oldBits;
  17. bool oldSurround, oldMono, oldRG;
  18. };
  19. #endif