MMADCVT.PAS 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {========================================================================}
  2. {= (c) 1995-98 SwiftSoft Ronald Dittrich =}
  3. {========================================================================}
  4. {= All Rights Reserved =}
  5. {========================================================================}
  6. {= D 01099 Dresden = Fax.: +49 (0)351-8037944 =}
  7. {= Loewenstr.7a = info@swiftsoft.de =}
  8. {========================================================================}
  9. {= Actual versions on http://www.swiftsoft.de/mmtools.html =}
  10. {========================================================================}
  11. {= This code is for reference purposes only and may not be copied or =}
  12. {= distributed in any format electronic or otherwise except one copy =}
  13. {= for backup purposes. =}
  14. {= =}
  15. {= No Delphi Component Kit or Component individually or in a collection=}
  16. {= subclassed or otherwise from the code in this unit, or associated =}
  17. {= .pas, .dfm, .dcu, .asm or .obj files may be sold or distributed =}
  18. {= without express permission from SwiftSoft. =}
  19. {= =}
  20. {= For more licence informations please refer to the associated =}
  21. {= HelpFile. =}
  22. {========================================================================}
  23. {= $Date: 09.03.98 - 23:34:41 $ =}
  24. {========================================================================}
  25. unit MMADCvt;
  26. {$I COMPILER.INC}
  27. interface
  28. uses
  29. {$IFDEF WIN32}
  30. Windows,
  31. {$ELSE}
  32. WinTypes,
  33. WinProcs,
  34. {$ENDIF}
  35. SysUtils,
  36. Classes,
  37. DsgnIntf,
  38. MMSystem,
  39. MMUtils,
  40. MMObj,
  41. MMDSPObj,
  42. MMRegs,
  43. MMWaveIO,
  44. MMADPCM;
  45. type
  46. EMMADPCMError = class(Exception);
  47. {-- TMMADPCMConverter ------------------------------------------------------}
  48. TMMADPCMConverter = class(TMMDSPComponent)
  49. public
  50. constructor Create(aOwner: TComponent); override;
  51. destructor Destroy; override;
  52. procedure Open;
  53. procedure Close;
  54. procedure Start;
  55. procedure Stop;
  56. property CanConvert: Boolean read GetCanConvert;
  57. published
  58. property Input;
  59. property Output;
  60. property BitLength: TMMBits read FBits write SetBits default b16Bit;
  61. end;
  62. implementation