mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-06 21:25:03 -05:00
They are nearly entirely generic wrappers around ALSA controls, unique per target, and are ripe for further consolidation. Change-Id: I05e4a450e3e89e03616906601c4f8fa46200dff5
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);
|