mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -04:00
apps: cleanly disable codec buffering when not supported
Move HAVE_CODEC_BUFFERING to config.h, and disable all related code on targets that don't support the feature, ie. hosted targets that can't implement lc_open_from_mem(). Change-Id: I0d2a43900cd05b1a80c3cee519f8ad7b26e39fe7
This commit is contained in:
parent
3d0888875e
commit
3d281c2ea3
5 changed files with 13 additions and 14 deletions
|
|
@ -689,6 +689,11 @@ Lyre prototype 1 */
|
|||
# endif
|
||||
#endif
|
||||
|
||||
/* Codec buffering requires the ability to load code from RAM */
|
||||
#if CONFIG_PLATFORM & PLATFORM_NATIVE
|
||||
# define HAVE_CODEC_BUFFERING
|
||||
#endif
|
||||
|
||||
/* setup basic macros from capability masks */
|
||||
#include "config_caps.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue