diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2021-04-08 23:02:15 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-04-08 23:02:15 -0400 |
commit | 54fcb907c1c0397973208debea876ef5753d529c (patch) | |
tree | 89baa84fbecab815af6db2ca4b8623603a617da8 /firmware/target/hosted/pcm-alsa.h | |
parent | e17337c9aab231875234e0485f7175a5a613fb4c (diff) | |
download | rockbox-54fcb907c1c0397973208debea876ef5753d529c.tar.gz rockbox-54fcb907c1c0397973208debea876ef5753d529c.zip |
alsa: instead of per-target tests, use HAVE_ALSA_32BIT
Affects all Sony NWZ (linux) and the fiio m3k linux targets.
Change-Id: I2fcf121bd026103d2b72332a5a52cc2b5e93949f
Diffstat (limited to 'firmware/target/hosted/pcm-alsa.h')
-rw-r--r-- | firmware/target/hosted/pcm-alsa.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/pcm-alsa.h b/firmware/target/hosted/pcm-alsa.h index 4c0b0d0b9d..f35be60074 100644 --- a/firmware/target/hosted/pcm-alsa.h +++ b/firmware/target/hosted/pcm-alsa.h | |||
@@ -22,7 +22,7 @@ | |||
22 | 22 | ||
23 | #include <config.h> | 23 | #include <config.h> |
24 | 24 | ||
25 | #if defined(SONY_NWZ_LINUX) || defined(HAVE_FIIO_LINUX_CODEC) | 25 | #if defined(HAVE_ALSA_32BIT) |
26 | /* Set the PCM volume in dB: each sample with have this volume applied digitally | 26 | /* Set the PCM volume in dB: each sample with have this volume applied digitally |
27 | * before being sent to ALSA. Volume must satisfy -43 <= dB <= 0 */ | 27 | * before being sent to ALSA. Volume must satisfy -43 <= dB <= 0 */ |
28 | void pcm_set_mixer_volume(int vol_db_l, int vol_db_r); | 28 | void pcm_set_mixer_volume(int vol_db_l, int vol_db_r); |