diff options
Diffstat (limited to 'firmware/target/hosted')
-rw-r--r-- | firmware/target/hosted/maemo/pcm-gstreamer.c | 4 | ||||
-rw-r--r-- | firmware/target/hosted/sdl/pcm-sdl.c | 3 |
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 @@ | |||
65 | extern bool debug_audio; | 65 | extern bool debug_audio; |
66 | #endif | 66 | #endif |
67 | 67 | ||
68 | #if CONFIG_CODEC == SWCODEC | ||
69 | |||
70 | /* Declarations for libplayblack */ | 68 | /* Declarations for libplayblack */ |
71 | pb_playback_t *playback = NULL; | 69 | pb_playback_t *playback = NULL; |
72 | void playback_state_req_handler(pb_playback_t *pb, | 70 | void playback_state_req_handler(pb_playback_t *pb, |
@@ -481,5 +479,3 @@ unsigned long spdif_measure_frequency(void) | |||
481 | #endif | 479 | #endif |
482 | 480 | ||
483 | #endif /* HAVE_RECORDING */ | 481 | #endif /* HAVE_RECORDING */ |
484 | |||
485 | #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 @@ | |||
51 | extern bool debug_audio; | 51 | extern bool debug_audio; |
52 | #endif | 52 | #endif |
53 | 53 | ||
54 | #if CONFIG_CODEC == SWCODEC | ||
55 | static int cvt_status = -1; | 54 | static int cvt_status = -1; |
56 | 55 | ||
57 | static const void *pcm_data; | 56 | static const void *pcm_data; |
@@ -411,5 +410,3 @@ void pcm_play_dma_init(void) | |||
411 | void pcm_play_dma_postinit(void) | 410 | void pcm_play_dma_postinit(void) |
412 | { | 411 | { |
413 | } | 412 | } |
414 | |||
415 | #endif /* CONFIG_CODEC == SWCODEC */ | ||