diff options
Diffstat (limited to 'apps/system/nxplayer/Kconfig')
-rw-r--r-- | apps/system/nxplayer/Kconfig | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/apps/system/nxplayer/Kconfig b/apps/system/nxplayer/Kconfig new file mode 100644 index 000000000..6651422fc --- /dev/null +++ b/apps/system/nxplayer/Kconfig @@ -0,0 +1,109 @@ +# +# For a description of the syntax of this configuration file, +# see misc/tools/kconfig-language.txt. +# + +config SYSTEM_NXPLAYER + bool "NxPlayer library / command line support" + default n + ---help--- + Enable support for the command line media player + +if SYSTEM_NXPLAYER + +config NXPLAYER_COMMAND_LINE + bool "Include nxplayer command line application" + default y + ---help--- + Compiles in code for the nxplayer command line control. + This is a text-based command line interface that uses + the nxplayer library to play media files, control the + volume, balance, bass, etc. + +if NXPLAYER_COMMAND_LINE + +config NXPLAYER_INCLUDE_HELP + bool "Include HELP command and text" + default y + ---help--- + Compiles in the NxPlayer help text to provide online help + for available commands with syntax. + +endif + +config NXPLAYER_INCLUDE_DEVICE_SEARCH + bool "Include audio device search code" + default y + ---help--- + Compiles in extra code to search the audio device directory + for a suitable audio device to play the specified file. + Disabling this feature saves some code space, but it will + mean the calling application must specify the path of the + audio device to use before performing any other operations. + +config NXPLAYER_INCLUDE_PREFERRED_DEVICE + bool "Include preferred audio device specification code" + default y + ---help--- + Adds support for identifying a specific audio device to use + for audio operations. If this feature is not enabled, then + an audio device search will be performed. + +config NXPLAYER_FMT_FROM_EXT + bool "Include code to determine Audio format from extension" + default y + ---help--- + Compiles in extra code to determine audio format based + on the filename extension for known file types. + This feature is used if the format is not manually + specified, and will take priority over the more lengthy + file content detection approach. + +config NXPLAYER_FMT_FROM_HEADER + bool "Include code to find Audio format from file content" + default n + ---help--- + Compiles in extra code to determine audio format based + on the header content of a file for known file types. + This feature is used when the format type cannot be + determined from the filename extension. + +config NXPLAYER_INCLUDE_MEDIADIR + bool "Include support for specifying a media directory" + default y + ---help--- + Compiles in extra code to set a media directory which + will be searched when a request is made to play a file + which is not fully qualified. + +if NXPLAYER_INCLUDE_MEDIADIR + +config NXPLAYER_DEFAULT_MEDIADIR + string "Default root directory to search for media files" + default "/music" + ---help--- + Specifies a root directory to search for media files + when an absolute path is not provided. This can be + changed at the nxplayer command line, but will default + to this value each time nxplayer is launched. + +config NXPLAYER_RECURSIVE_MEDIA_SEARCH + bool "Perform recursive directory search for media files" + default n + ---help--- + When enabled, this feature will add code to perform + a complete recursive directory search within the + MEDIADIR for any media files that do not have a + qualified path (i.e. contain no '/' characters). + +endif + +config NXPLAYER_INCLUDE_SYSTEM_RESET + bool "Include support for system / hardware reset" + default n + ---help--- + When enabled, this feature will add code to enable issuing + a HW reset via program call. The system reset will perform + a reset on all registered audio devices. + +endif |