WavFormat.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /******************************************************************************
  2. |* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  3. |* ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  4. |* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  5. |* PARTICULAR PURPOSE.
  6. |*
  7. |* Copyright 1995-2005 Nero AG. All Rights Reserved.
  8. |*-----------------------------------------------------------------------------
  9. |* PROJECT: Nero Plugin Manager Example
  10. |*
  11. |* FILE: WavFormat.h
  12. |*
  13. |* PURPOSE: Wave format definitions and structs.
  14. ******************************************************************************/
  15. #ifndef _WAV_FORMATD_
  16. # define _WAV_FORMATD_
  17. #if _MSC_VER > 1000
  18. # pragma once
  19. #endif // _MSC_VER > 1000
  20. // Headers
  21. // length of the name part
  22. const int WAV_CHUNK_NAME_LEN = 4;
  23. // the number of supported subchunks of the LIST chunk
  24. const int LIST_CHUNK_ITEMS = 5;
  25. // source flags
  26. const EAuxFlags SRC_FLAGS = ((EAuxFlags) (EAF_LightOpen|
  27. EAF_Readable|
  28. EAF_CanRecOnAudioCD|EAF_CanRecOnDataCD|
  29. EAF_CanCopy|
  30. EAF_CanDLToMp3PlayerOrPortabDvc|
  31. EAF_CanConvert));
  32. // SWavCommon
  33. // A base structure for both source and target item classes.
  34. // Incapsulates the additional information.
  35. struct SWavCommon
  36. {
  37. // Data
  38. // the order of placement of this fields MUST not
  39. // be changed or MUST be arranged with the second
  40. // switch of Recurse Wave function
  41. CString m_csArtist;
  42. CString m_csComments;
  43. CString m_csCopyright;
  44. CString m_csDate;
  45. CString m_csTitle;
  46. };
  47. #endif // _WAV_FORMATD_