diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-05-19 15:12:28 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-05-19 15:12:28 -0600 |
commit | b97a5893e75583cc0d2afeb5c3bcf1f52331a55d (patch) | |
tree | 607094cfdf7856d0e0c01f6b762d5bbf1b2df28e /nuttx/audio/Kconfig | |
parent | 13cbdd000fffdd62699e6af081f06ff847d5a5cc (diff) | |
download | nuttx-b97a5893e75583cc0d2afeb5c3bcf1f52331a55d.tar.gz nuttx-b97a5893e75583cc0d2afeb5c3bcf1f52331a55d.tar.bz2 nuttx-b97a5893e75583cc0d2afeb5c3bcf1f52331a55d.zip |
Add audio/ sub-syste, include/nuttx/audio.h interface, and drivers/audio/vs1053.c driver to NuttX. From Ken Pettit
Diffstat (limited to 'nuttx/audio/Kconfig')
-rw-r--r-- | nuttx/audio/Kconfig | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/nuttx/audio/Kconfig b/nuttx/audio/Kconfig new file mode 100644 index 000000000..a666c775f --- /dev/null +++ b/nuttx/audio/Kconfig @@ -0,0 +1,89 @@ +# +# For a description of the syntax of this configuration file, +# see misc/tools/kconfig-language.txt. +# + +config AUDIO + bool "Audio Support" + default n + ---help--- + Enables overall support for Audio library. + +if AUDIO + +config AUDIO_NCHANNELS + int "Number of Audio Channels" + default 2 + ---help--- + Stereo channel support is standard, but some systems may support 5 or 7 + channel capability. + +config AUDIO_LARGE_BUFFERS + bool "Support Audio Buffers with greater than 65K samples" + default n + ---help--- + By default, the Audio Pipeline Buffer uses a 16-bit max sample count, limiting + the number of samples per buffer to 65K. Enable this option to specify a + 32-bit max sample count for increased samples / buffer capability. + channel capability. + +menu "Supported Audio Formats" + +config AUDIO_FORMAT_PCM + bool "PCM Audio" + default y + ---help--- + Build in support for PCM Audio format. + +config AUDIO_FORMAT_MP3 + bool "MPEG 3 Layer 1" + default n + ---help--- + Build in support for MP3 Audio format. + +config AUDIO_FORMAT_WMA + bool "WMA Format (see copyright notice)" + default n + ---help--- + Add in support for Microsoft Windows Media format. + +config AUDIO_FORMAT_OGG_VORBIS + bool "Ogg Vorbis format" + default n + ---help--- + Build in support for the Open Source Ogg Vorbis format. + +endmenu + +# These are here as placeholders of what could be added + +if CONFIG_AUDIO_PLANNED + +config AUDIO_MIXER + bool "Planned - Enable support for the software based Audio Mixer" + default n + ---help--- + The Audio mixer is a software-only based component that can be used + to perform audio channel or device mixing. + +config AUDIO_MIDI_SYNTH + bool "Planned - Enable support for the software-based MIDI synthisizer" + default n + ---help--- + Builds a simple MIDI synthisizer. + +config AUDIO_OUTPUT_JACK_CONTROL + bool "Planned - Enable support for output jack control" + default n + ---help--- + Builds a simple MIDI synthisizer. + +config AUDIO_FONT + bool "Planned - Enable support for the Audio Font" + default n + ---help--- + The Audio font provides common audio symbols. + +endif + +endif |