summaryrefslogtreecommitdiff
path: root/apps/NxWidgets
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 /apps/NxWidgets
parenta2f3576b95cf969a21a0a80ccfb08c024d699aa1 (diff)
downloadpx4-nuttx-90fb19dcd1f6df2dd54b6502d0a9dd75abaa5ea2.tar.gz
px4-nuttx-90fb19dcd1f6df2dd54b6502d0a9dd75abaa5ea2.tar.bz2
px4-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 'apps/NxWidgets')
-rw-r--r--apps/NxWidgets/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/NxWidgets/Kconfig b/apps/NxWidgets/Kconfig
index 8bd5ef26d..3a55e2077 100644
--- a/apps/NxWidgets/Kconfig
+++ b/apps/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