12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- #pragma once
- #include <bfc/dispatch.h>
- #include "ifc_audioFileEncoder.h"
- #include "../DecodeFile/api_decodefile.h"
- #include <bfc/std_mkncc.h>
- class svc_audioFileEncoder : public Dispatchable
- {
- protected:
- svc_audioFileEncoder() {}
- ~svc_audioFileEncoder() {}
- public:
- static FOURCC getServiceType() { return svc_albumArtProvider::SERVICETYPE; }
-
-
-
- const wchar_t *GetName();
-
-
-
-
-
-
-
-
-
- int GetProfileInfo(const wchar_t *profile, const wchar_t *profile_item, wchar_t *value, size_t value_cch, const AudioParameters *parameters = 0);
-
- int SetProfileInfo(const wchar_t *profile, const wchar_t *profile_item, const wchar_t *value, AudioParameters *parameters = 0);
-
-
-
- int Create(ifc_audioFileEncoder **encoder, const wchar_t *filename, const wchar_t *profile, const AudioParameters *parameters);
-
- void Destroy(ifc_audioFileEncoder *encoder);
-
-
- HWND Configure(HWND parent, const wchar_t *profile, const AudioParameters *parameters = 0);
- enum
- {
- SERVICETYPE = MK4CC('a','f','e', 'n')
- };
- };
|