summaryrefslogtreecommitdiff
path: root/apps/system/nxplayer/Kconfig
blob: 31362ba3be8a56474f207b38d385b377ea338b6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
#
# 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_PLAYTHREAD_STACKSIZE
	int "NxPlayer thread stack size"
	default 1500
	---help---
		Stack size to use with the NxPlayer play thread.

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