diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-05-21 13:13:05 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-05-21 13:13:05 -0600 |
commit | 801977de7c84d03616329795e1c59929ab948906 (patch) | |
tree | b9d9220000c01cf9aca8e010f43fc488ccc26f26 /nuttx/audio/Kconfig | |
parent | 3895e0ec4c2c3057935bbeb7558fa4b815385334 (diff) | |
download | px4-nuttx-801977de7c84d03616329795e1c59929ab948906.tar.gz px4-nuttx-801977de7c84d03616329795e1c59929ab948906.tar.bz2 px4-nuttx-801977de7c84d03616329795e1c59929ab948906.zip |
Audio subystem update from Ken Pettit. Plus moved some header files
Diffstat (limited to 'nuttx/audio/Kconfig')
-rw-r--r-- | nuttx/audio/Kconfig | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/nuttx/audio/Kconfig b/nuttx/audio/Kconfig index a666c775f..7ce503aaf 100644 --- a/nuttx/audio/Kconfig +++ b/nuttx/audio/Kconfig @@ -27,6 +27,36 @@ config AUDIO_LARGE_BUFFERS 32-bit max sample count for increased samples / buffer capability. channel capability. +config AUDIO_CUSTOM_DEV_PATH + bool "Use custom device path" + default n + ---help--- + By default, all audio devices on the target are are registered in the + /dev/audio directory. Select this option to change the default location + for the device registration. + +if AUDIO_CUSTOM_DEV_PATH + +config AUDIO_DEV_ROOT + bool "Place audio devices in /dev" + default n + ---help--- + This option causes all device entries to appear in /dev with all the + other device entries. This option generates the smallest code and + RAM footprint. + +if !AUDIO_DEV_ROOT + +config AUDIO_DEV_PATH + string "Base path for Audio devices" + default "/dev/audio" + ---help--- + The path on the target where audio devices are registered. The default + is to place all audio devices in the /dev/audio/ directory. + +endif +endif + menu "Supported Audio Formats" config AUDIO_FORMAT_PCM @@ -55,7 +85,7 @@ config AUDIO_FORMAT_OGG_VORBIS endmenu -# These are here as placeholders of what could be added +# These are here as placeholders of what could be added if CONFIG_AUDIO_PLANNED |