mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-05-12 11:43:16 -04:00
Remove the generic TLV320AIC3104 codec header. The codec is sufficiently complex that a one-size-fits-all driver isn't really feasible, eg. due to different clocking and output configurations. It's easier for targets to have their own audio headers tailored to their use case than a generic header with lots of ifdefs. Change-Id: I63d92d57c28ddd7da7aa3174bd583d8afb1aa56d
31 lines
1.3 KiB
C
31 lines
1.3 KiB
C
/***************************************************************************
|
|
* __________ __ ___.
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
* \/ \/ \/ \/ \/
|
|
* $Id$
|
|
*
|
|
* Copyright (C) 2025 Aidan MacDonald
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
* KIND, either express or implied.
|
|
*
|
|
****************************************************************************/
|
|
#ifndef __ECHOPLAYER_CODEC_H__
|
|
#define __ECHOPLAYER_CODEC_H__
|
|
|
|
/* -79 to 0 dB in 0.5 dB steps; software volume control
|
|
* is used because the hardware volume controls "click"
|
|
* when changing the volume */
|
|
AUDIOHW_SETTING(VOLUME, "dB", 1, 5, -790, 0, -200);
|
|
|
|
AUDIOHW_SETTING(MIC_GAIN, "dB", 0, 1, 0, 63, 12);
|
|
|
|
#endif /* __ECHOPLAYER_CODEC_H__ */
|