#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#

config SYSTEM_NXRECORDER
	bool "NxRecorder pcm raw data Recorder"
	default n
	depends on AUDIO
	---help---
		Enable support for the NxRecorder pcm raw data recorder library
		and optional command line interface.

if SYSTEM_NXRECORDER

config NXRECORDER_MAINTHREAD_STACKSIZE
	int "NxRecoder main thread stack size"
	default DEFAULT_TASK_STACKSIZE
	---help---
		Stack size to use with the NxRecoder main thread.

config NXRECORDER_RECORDTHREAD_STACKSIZE
	int "NxRecorder thread stack size"
	default PTHREAD_STACK_DEFAULT
	---help---
		Stack size to use with the NxRecorder record thread.

config NXRECORDER_COMMAND_LINE
	tristate "Include nxrecorder command line application"
	default y
	---help---
		Compiles in code for the nxrecorder command line control.
		This is a text-based command line interface that uses
		the nxrecorder library to record pcm raw data, control the
		volume, balance, bass, etc.

if NXRECORDER_COMMAND_LINE

config NXRECORDER_INCLUDE_HELP
	bool "Include HELP command and text"
	default y
	---help---
		Compiles in the NxRecorder help text to provide online help
		for available commands with syntax.

config NXRECORDER_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.

endif
endif
