summaryrefslogtreecommitdiffstats
path: root/apps/plugins/rockboy/rbsound.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockboy/rbsound.c')
-rw-r--r--apps/plugins/rockboy/rbsound.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/apps/plugins/rockboy/rbsound.c b/apps/plugins/rockboy/rbsound.c
index 628879b4b7..c36e24b578 100644
--- a/apps/plugins/rockboy/rbsound.c
+++ b/apps/plugins/rockboy/rbsound.c
@@ -7,8 +7,6 @@ struct pcm pcm IBSS_ATTR;
#define N_BUFS 2
#define BUF_SIZE 2048
-#if CONFIG_CODEC == SWCODEC
-
bool doneplay=1;
bool bufnum=0;
@@ -88,27 +86,3 @@ int rockboy_pcm_submit(void)
pcm.pos = 0;
return 1;
}
-
-#else
-
-void rockboy_pcm_init(void)
-{
- pcm.hz = 44100;
- pcm.stereo = 1;
- pcm.buf = NULL;
- pcm.len = 0;
- pcm.pos = 0;
-}
-
-void rockboy_pcm_close(void)
-{
- memset(&pcm, 0, sizeof pcm);
-}
-
-int rockboy_pcm_submit(void)
-{
- pcm.pos =0;
- return 0;
-}
-
-#endif