1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/export/rocker_codec.h
Solomon Peachy e43726df2c hosted pcm-alsa improvements
* xduoo x3ii/x20:  Better line out support
 * less granular volume settings (too many steps before)
 * Better handling of swiching sample rates
 * Log actual sample rate in debug menu

Most credit goes to Roman Stolyarov
Additional integration [re]work by myself

Change-Id: I63af3740678cf2ed3170f61534e1029c81826bb6
2020-10-01 11:56:57 -04:00

8 lines
162 B
C

#ifndef __ROCKER_CODEC__
#define __ROCKER_CODEC__
#define AUDIOHW_CAPS 0
AUDIOHW_SETTING(VOLUME, "dB", 0, 1, -127, 0, -30)
#endif
void audiohw_mute(int mute);