mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
alsa: instead of per-target tests, use HAVE_ALSA_32BIT
Affects all Sony NWZ (linux) and the fiio m3k linux targets. Change-Id: I2fcf121bd026103d2b72332a5a52cc2b5e93949f
This commit is contained in:
parent
e17337c9aa
commit
54fcb907c1
4 changed files with 34 additions and 28 deletions
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#if defined(SONY_NWZ_LINUX) || defined(HAVE_FIIO_LINUX_CODEC)
|
||||
#if defined(HAVE_ALSA_32BIT)
|
||||
/* Set the PCM volume in dB: each sample with have this volume applied digitally
|
||||
* before being sent to ALSA. Volume must satisfy -43 <= dB <= 0 */
|
||||
void pcm_set_mixer_volume(int vol_db_l, int vol_db_r);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue