summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/pcm-alsa.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-04-08 23:02:15 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-04-08 23:02:15 -0400
commit54fcb907c1c0397973208debea876ef5753d529c (patch)
tree89baa84fbecab815af6db2ca4b8623603a617da8 /firmware/target/hosted/pcm-alsa.h
parente17337c9aab231875234e0485f7175a5a613fb4c (diff)
downloadrockbox-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.h2
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 */
28void pcm_set_mixer_volume(int vol_db_l, int vol_db_r); 28void pcm_set_mixer_volume(int vol_db_l, int vol_db_r);