vs1002.h 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. #ifndef _DEV_VS1002_H_
  2. #define _DEV_VS1002_H_
  3. /*
  4. * Copyright (C) 2009 by egnite GmbH
  5. *
  6. * All rights reserved.
  7. *
  8. * Redistribution and use in source and binary forms, with or without
  9. * modification, are permitted provided that the following conditions
  10. * are met:
  11. *
  12. * 1. Redistributions of source code must retain the above copyright
  13. * notice, this list of conditions and the following disclaimer.
  14. * 2. Redistributions in binary form must reproduce the above copyright
  15. * notice, this list of conditions and the following disclaimer in the
  16. * documentation and/or other materials provided with the distribution.
  17. * 3. Neither the name of the copyright holders nor the names of
  18. * contributors may be used to endorse or promote products derived
  19. * from this software without specific prior written permission.
  20. *
  21. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  22. * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  23. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  24. * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  25. * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  26. * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
  27. * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
  28. * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
  29. * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  30. * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
  31. * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  32. * SUCH DAMAGE.
  33. *
  34. * For additional information see http://www.ethernut.de/
  35. */
  36. /*
  37. * $Id$
  38. */
  39. #define VS_HAS_SM_LAYER12 0
  40. #define VS_HAS_SM_FFWD 0
  41. #define VS_HAS_SM_MP12 0
  42. #define VS_HAS_SM_OUTOFWAV 1
  43. #define VS_HAS_SM_CANCEL 0
  44. #define VS_HAS_SM_PDOWN 1
  45. #define VS_HAS_SM_EARSPEAKER 0
  46. #define VS_HAS_SM_DAC 0
  47. #define VS_HAS_SM_TESTS 1
  48. #define VS_HAS_SM_DACMONO 0
  49. #define VS_HAS_SM_STREAM 1
  50. #define VS_HAS_SM_BASS 0
  51. #define VS_HAS_SM_IBMODE 0
  52. #define VS_HAS_SM_SDISHARE 1
  53. #define VS_HAS_SM_IBCLK 0
  54. #define VS_HAS_SM_SDINEW 1
  55. #define VS_HAS_SM_ADPCM 1
  56. #define VS_HAS_SM_ADPCM_HP 1
  57. #define VS_HAS_SM_LINE_IN 0
  58. #define VS_HAS_SM_CLK_RANGE 0
  59. #define VS_HAS_SS_AVOL 0
  60. #define VS_HAS_SS_VREF_1_65 0
  61. #define VS_HAS_SS_AD_CLOCK 0
  62. #define VS_HAS_SS_VCM_DISABLE 0
  63. #define VS_HAS_SS_VCM_OVERLOAD 0
  64. #define VS_HAS_SS_SWING 0
  65. #define VS_HAS_SS_DO_NOT_JUMP 0
  66. #define VS_HAS_INT_FCTLH_REG 0
  67. #define VS_HAS_BASS_REG 1
  68. #define VS_HAS_SC_FREQ 0
  69. #define VS_HAS_SC_X3FREQ 0
  70. #define VS_HAS_SC_ADD 0
  71. #define VS_HAS_SC_ADD2 0
  72. #define VS_HAS_SC_MULT 0
  73. #define VS_HAS_SC_MULT5 0
  74. #define VS_HAS_CF_DOUBLER 1
  75. #define VS_HAS_AD_STEREO_BIT0 0
  76. #define VS_HAS_AD_SAMRATE 0
  77. #define VS_HAS_AD_BITRATE 0
  78. #define VS_HAS_AD_SAMRATE_IDX 0
  79. #define VS_HAS_HDAT0_REG 1
  80. #define VS_HAS_IN0_REG 0
  81. #define VS_HAS_HDAT1_REG 1
  82. #define VS_HAS_IN1_REG 0
  83. #define VS_HAS_MIXERVOL_REG 0
  84. #define VS_HAS_ADPCMRECCTL_REG 0
  85. #define VS_HAS_AICTRL0_REG 1
  86. #define VS_HAS_AICTRL_REG 0
  87. #define VS_HAS_AICTRL1_REG 1
  88. #define VS_HAS_AICTRL2_REG 1
  89. #define VS_HAS_AICTRL3_REG 1
  90. #define VS_FLUSH_BYTES 2048
  91. #define VS_DECODER_CAPS (AUDIO_FMT_WAV_PCM | AUDIO_FMT_MPEG1_L3)
  92. #define VS_ENCODER_CAPS (0)
  93. #endif