diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-17 00:01:32 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 21:20:13 +0000 |
commit | 8cb555460ff79e636a7907fb2589e16db98c8600 (patch) | |
tree | 930a3878c7641c9ce045b24f0ade1309e36d5806 /apps/plugins/zxbox | |
parent | 0c4f89370d05056faa789aa9cabcccc4e509fb9f (diff) | |
download | rockbox-8cb555460ff79e636a7907fb2589e16db98c8600.tar.gz rockbox-8cb555460ff79e636a7907fb2589e16db98c8600.zip |
[3/4] Completely remove HWCODEC support
'swcodec' is now always set (and recording_swcodec for recording-capable
units) in feature.txt so the manual and language strings don't need to
all be fixed up.
Change-Id: Ib2c9d5d157af8d33653e2d4b4a12881b9aa6ddb0
Diffstat (limited to 'apps/plugins/zxbox')
-rw-r--r-- | apps/plugins/zxbox/spmain.c | 4 | ||||
-rw-r--r-- | apps/plugins/zxbox/zxbox.c | 4 | ||||
-rw-r--r-- | apps/plugins/zxbox/zxconfig.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugins/zxbox/spmain.c b/apps/plugins/zxbox/spmain.c index e27770c70c..6c6b59c3fb 100644 --- a/apps/plugins/zxbox/spmain.c +++ b/apps/plugins/zxbox/spmain.c @@ -290,7 +290,7 @@ static void options_menu(void){ no_yes, 2, NULL); if (new_setting != settings.sound ) settings.sound=new_setting; -#if CONFIG_CODEC == SWCODEC && !defined SIMULATOR +#if !defined SIMULATOR rb->pcm_play_stop(); #endif break; @@ -318,7 +318,7 @@ static void options_menu(void){ /* menu */ static bool zxbox_menu(void) { -#if CONFIG_CODEC == SWCODEC && !defined SIMULATOR +#if !defined SIMULATOR rb->pcm_play_stop(); #endif int selected=0; diff --git a/apps/plugins/zxbox/zxbox.c b/apps/plugins/zxbox/zxbox.c index d618243b92..4ebc0e0a9e 100644 --- a/apps/plugins/zxbox/zxbox.c +++ b/apps/plugins/zxbox/zxbox.c @@ -102,9 +102,9 @@ enum plugin_status plugin_start(const void* parameter) #ifdef USE_GREY grey_show(false); grey_release(); -#endif +#endif -#if CONFIG_CODEC == SWCODEC && !defined SIMULATOR +#if !defined SIMULATOR rb->pcm_play_stop(); #endif diff --git a/apps/plugins/zxbox/zxconfig.h b/apps/plugins/zxbox/zxconfig.h index 590da99f15..fb93dc5081 100644 --- a/apps/plugins/zxbox/zxconfig.h +++ b/apps/plugins/zxbox/zxconfig.h @@ -29,7 +29,7 @@ extern int intkeys[5]; #define SPECT_MEM 1 /* Define if sound driver is available. */ -#if CONFIG_CODEC == SWCODEC && !defined SIMULATOR +#if !defined SIMULATOR #define HAVE_SOUND #endif |