summaryrefslogtreecommitdiff
path: root/NxWidgets/Kconfig
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-23 18:19:00 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-23 18:19:00 -0600
commit90fb19dcd1f6df2dd54b6502d0a9dd75abaa5ea2 (patch)
treef5fdde6de55f4783c16557fb468c09987d633e3a /NxWidgets/Kconfig
parenta2f3576b95cf969a21a0a80ccfb08c024d699aa1 (diff)
downloadnuttx-90fb19dcd1f6df2dd54b6502d0a9dd75abaa5ea2.tar.gz
nuttx-90fb19dcd1f6df2dd54b6502d0a9dd75abaa5ea2.tar.bz2
nuttx-90fb19dcd1f6df2dd54b6502d0a9dd75abaa5ea2.zip
NxWM: Beginning integration of NxPlayer into Nxwm::MediaPlayer. Gets handle, sets device, and releases handle. Lots more to be done
Diffstat (limited to 'NxWidgets/Kconfig')
-rw-r--r--NxWidgets/Kconfig16
1 files changed, 15 insertions, 1 deletions
diff --git a/NxWidgets/Kconfig b/NxWidgets/Kconfig
index 8bd5ef26d..6608d7a56 100644
--- a/NxWidgets/Kconfig
+++ b/NxWidgets/Kconfig
@@ -1130,6 +1130,20 @@ config NXWM_MEDIAPLAYER
if NXWM_MEDIAPLAYER
+menu "NxPlayer Integration"
+
+config NXWM_MEDIAPLAYER_PREFERRED_DEVICE
+ string "Preferred audio device"
+ default "pcm0"
+ depends on NXPLAYER_INCLUDE_PREFERRED_DEVICE
+ ---help---
+ NxPlayer expects us to specify a preferred audio device. This
+ selection allows us to identify that preferred audio device. This
+ device is identified by a simple name string that corresponds to an
+ audio device that can be found under /dev/audio.
+
+endmenu # NxPlayer Integration
+
menu "Media File Configuration"
config NXWM_MEDIAPLAYER_MEDIAPATH
@@ -1166,7 +1180,7 @@ config NXWM_MEDIAPLAYER_FILTER_WAV
config NXWM_MEDIAPLAYER_FILTER_PCM
bool "Accept .pcm extension"
- default y
+ default n
select NXWM_MEDIAPLAYER_FILTER
config NXWM_MEDIAPLAYER_FILTER_MP3