mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
ma8/ma9: Cleanup - fix tabs, remove unused defines.
This commit is contained in:
parent
a7fa7b902e
commit
357dd680b4
2 changed files with 55 additions and 59 deletions
|
|
@ -84,24 +84,24 @@ static int vol_tenthdb2hw(const int tdb)
|
|||
|
||||
void audiohw_init(void)
|
||||
{
|
||||
pcm1792_write_reg(PCM1792_REG(18), REG18_INIT_VALUE);
|
||||
pcm1792_write_reg(PCM1792_REG(19), REG19_INIT_VALUE);
|
||||
pcm1792_write_reg(PCM1792_REG(20), REG20_INIT_VALUE);
|
||||
pcm1792_write_reg(PCM1792_REG(21), REG21_INIT_VALUE);
|
||||
pcm1792_write_reg(PCM1792_REG(18), REG18_INIT_VALUE);
|
||||
pcm1792_write_reg(PCM1792_REG(19), REG19_INIT_VALUE);
|
||||
pcm1792_write_reg(PCM1792_REG(20), REG20_INIT_VALUE);
|
||||
pcm1792_write_reg(PCM1792_REG(21), REG21_INIT_VALUE);
|
||||
|
||||
/* Left & Right volumes */
|
||||
pcm1792_write_reg(PCM1792_REG(16), 0xff);
|
||||
pcm1792_write_reg(PCM1792_REG(17), 0xff);
|
||||
pcm1792_write_reg(PCM1792_REG(16), 0xff);
|
||||
pcm1792_write_reg(PCM1792_REG(17), 0xff);
|
||||
}
|
||||
|
||||
void audiohw_mute(void)
|
||||
{
|
||||
pcm1792_write_reg(PCM1792_REG(18), REG18_INIT_VALUE|PCM1792_MUTE_ON);
|
||||
pcm1792_write_reg(PCM1792_REG(18), REG18_INIT_VALUE|PCM1792_MUTE_ON);
|
||||
}
|
||||
|
||||
void audiohw_unmute(void)
|
||||
{
|
||||
pcm1792_write_reg(PCM1792_REG(18), REG18_INIT_VALUE);
|
||||
pcm1792_write_reg(PCM1792_REG(18), REG18_INIT_VALUE);
|
||||
}
|
||||
|
||||
void audiohw_preinit(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue