mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-07 13:45:03 -05:00
audio: Move hosted audio "codec" drivers into their respective target dirs
They are nearly entirely generic wrappers around ALSA controls, unique per target, and are ripe for further consolidation. Change-Id: I05e4a450e3e89e03616906601c4f8fa46200dff5
This commit is contained in:
parent
d376e0afb7
commit
a79bdaf462
20 changed files with 62 additions and 43 deletions
17
firmware/target/hosted/surfans/surfanslinux_codec.h
Normal file
17
firmware/target/hosted/surfans/surfanslinux_codec.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue