mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
* Use 16-bit audio output * More audio tweaks (mute on startup, working volume control) * Treat the rotary input as a scroll wheel (works now) To-dos: * Better global keymap (incorporate touchscreen) * Turn on plugins and define the approximately eight bajillion keymaps * Still have some audible pops when we turn on, need to figure out why * Default Cabbiev2 comes off as rather crappy on this device ...I don't know how much work I will do on this thing, as the limited number of physical controls (and a lack of a line-out) mean I'd never want to use this thing myself. Change-Id: I37229d92766495219ee989d9ae48b5ed79bd45f5
17 lines
462 B
C
17 lines
462 B
C
#ifndef __SURFANSLINUX_CODEC__
|
|
#define __SURFANSLINUX_CODEC__
|
|
|
|
#define AUDIOHW_CAPS (FILTER_ROLL_OFF_CAP)
|
|
AUDIOHW_SETTING(VOLUME, "dB", 1, 5, -102*10, 0, -30*10)
|
|
#endif
|
|
|
|
//#define AUDIOHW_MUTE_ON_STOP
|
|
#define AUDIOHW_MUTE_ON_SRATE_CHANGE
|
|
//#define AUDIOHW_NEEDS_INITIAL_UNMUTE
|
|
|
|
AUDIOHW_SETTING(FILTER_ROLL_OFF, "", 0, 1, 0, 4, 0)
|
|
#define AUDIOHW_HAVE_SHORT2_ROLL_OFF
|
|
|
|
void audiohw_mute(int mute);
|
|
void surfans_set_output(int ps);
|
|
int surfans_get_outputs(void);
|