summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted')
-rw-r--r--firmware/target/hosted/maemo/pcm-gstreamer.c4
-rw-r--r--firmware/target/hosted/sdl/pcm-sdl.c3
2 files changed, 0 insertions, 7 deletions
diff --git a/firmware/target/hosted/maemo/pcm-gstreamer.c b/firmware/target/hosted/maemo/pcm-gstreamer.c
index 5bca6f2d92..bd264fe5d3 100644
--- a/firmware/target/hosted/maemo/pcm-gstreamer.c
+++ b/firmware/target/hosted/maemo/pcm-gstreamer.c
@@ -65,8 +65,6 @@
extern bool debug_audio;
#endif
-#if CONFIG_CODEC == SWCODEC
-
/* Declarations for libplayblack */
pb_playback_t *playback = NULL;
void playback_state_req_handler(pb_playback_t *pb,
@@ -481,5 +479,3 @@ unsigned long spdif_measure_frequency(void)
#endif
#endif /* HAVE_RECORDING */
-
-#endif /* CONFIG_CODEC == SWCODEC */
diff --git a/firmware/target/hosted/sdl/pcm-sdl.c b/firmware/target/hosted/sdl/pcm-sdl.c
index 290dffbb95..9cb35beb48 100644
--- a/firmware/target/hosted/sdl/pcm-sdl.c
+++ b/firmware/target/hosted/sdl/pcm-sdl.c
@@ -51,7 +51,6 @@
extern bool debug_audio;
#endif
-#if CONFIG_CODEC == SWCODEC
static int cvt_status = -1;
static const void *pcm_data;
@@ -411,5 +410,3 @@ void pcm_play_dma_init(void)
void pcm_play_dma_postinit(void)
{
}
-
-#endif /* CONFIG_CODEC == SWCODEC */