| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- #ifndef _DEV_VS1001_H_
- #define _DEV_VS1001_H_
- /*
- * Copyright (C) 2009 by egnite GmbH
- *
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. Neither the name of the copyright holders nor the names of
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
- * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * For additional information see http://www.ethernut.de/
- */
- /*
- * $Id: vs1001.h 2660 2009-09-01 17:59:55Z haraldkipp $
- */
- #define VS_HAS_SM_LAYER12 0
- #define VS_HAS_SM_FFWD 1
- #define VS_HAS_SM_MP12 1
- #define VS_HAS_SM_OUTOFWAV 0
- #define VS_HAS_SM_CANCEL 0
- #define VS_HAS_SM_PDOWN 1
- #define VS_HAS_SM_EARSPEAKER 0
- #define VS_HAS_SM_DAC 1
- #define VS_HAS_SM_TESTS 0
- #define VS_HAS_SM_DACMONO 1
- #define VS_HAS_SM_STREAM 0
- #define VS_HAS_SM_BASS 1
- #define VS_HAS_SM_IBMODE 1
- #define VS_HAS_SM_SDISHARE 0
- #define VS_HAS_SM_IBCLK 1
- #define VS_HAS_SM_SDINEW 0
- #define VS_HAS_SM_ADPCM 0
- #define VS_HAS_SM_ADPCM_HP 0
- #define VS_HAS_SM_LINE_IN 0
- #define VS_HAS_SM_CLK_RANGE 0
- #define VS_HAS_SS_AVOL 1
- #define VS_HAS_SS_VREF_1_65 0
- #define VS_HAS_SS_AD_CLOCK 0
- #define VS_HAS_SS_VCM_DISABLE 0
- #define VS_HAS_SS_VCM_OVERLOAD 0
- #define VS_HAS_SS_SWING 0
- #define VS_HAS_SS_DO_NOT_JUMP 0
- #define VS_HAS_INT_FCTLH_REG 1
- #define VS_HAS_BASS_REG 0
- #define VS_HAS_SC_FREQ 1
- #define VS_HAS_SC_X3FREQ 0
- #define VS_HAS_SC_ADD 0
- #define VS_HAS_SC_ADD2 0
- #define VS_HAS_SC_MULT 0
- #define VS_HAS_SC_MULT5 0
- #define VS_HAS_CF_DOUBLER 1
- #define VS_HAS_AD_STEREO_BIT0 0
- #define VS_HAS_AD_SAMRATE 0
- #define VS_HAS_AD_BITRATE 1
- #define VS_HAS_AD_SAMRATE_IDX 1
- #define VS_HAS_HDAT0_REG 1
- #define VS_HAS_IN0_REG 0
- #define VS_HAS_HDAT1_REG 1
- #define VS_HAS_IN1_REG 0
- #define VS_HAS_MIXERVOL_REG 0
- #define VS_HAS_ADPCMRECCTL_REG 0
- #define VS_HAS_AICTRL0_REG 0
- #define VS_HAS_AICTRL_REG 1
- #define VS_HAS_AICTRL1_REG 1
- #define VS_HAS_AICTRL2_REG 0
- #define VS_HAS_AICTRL3_REG 0
- #define VS_SW_RESET_ON_OPEN
- #define VS_FLUSH_BYTES 1024
- #define VS_DECODER_CAPS (AUDIO_FMT_WAV_PCM | AUDIO_FMT_MPEG1_L1 | AUDIO_FMT_MPEG1_L2 | AUDIO_FMT_MPEG1_L3)
- #define VS_ENCODER_CAPS (0)
- #endif
|