From 54fcb907c1c0397973208debea876ef5753d529c Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Thu, 8 Apr 2021 23:02:15 -0400 Subject: alsa: instead of per-target tests, use HAVE_ALSA_32BIT Affects all Sony NWZ (linux) and the fiio m3k linux targets. Change-Id: I2fcf121bd026103d2b72332a5a52cc2b5e93949f --- firmware/target/hosted/pcm-alsa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/hosted/pcm-alsa.h') 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 @@ #include -#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); -- cgit v1.2.3