2009-02-26 21:15:40 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* Copyright (C) 2009 by Maurus Cuelenaere
|
|
|
|
*
|
|
|
|
* 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 __JZ4740_CODEC_H_
|
|
|
|
#define __JZ4740_CODEC_H_
|
|
|
|
|
|
|
|
/* TODO */
|
2009-03-09 23:32:37 +00:00
|
|
|
#define VOLUME_MIN -730
|
|
|
|
#define VOLUME_MAX 60
|
2009-02-26 21:15:40 +00:00
|
|
|
|
|
|
|
int tenthdb2master(int db);
|
|
|
|
void audiohw_set_headphone_vol(int vol_l, int vol_r);
|
|
|
|
|
|
|
|
#endif /* __JZ4740_CODEC_H_ */
|