summaryrefslogtreecommitdiff
path: root/apps/system
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-27 11:05:25 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-27 11:05:25 -0600
commit39845bd9d8d1c85bccbdc13865bd3533d7d25262 (patch)
tree1b1b730c2187c0ced4b8b36ebf6ae7dd0a6cf704 /apps/system
parentf1d2de909467c2673e3fcb4a6ae9dc0cbd2c3191 (diff)
downloadnuttx-39845bd9d8d1c85bccbdc13865bd3533d7d25262.tar.gz
nuttx-39845bd9d8d1c85bccbdc13865bd3533d7d25262.tar.bz2
nuttx-39845bd9d8d1c85bccbdc13865bd3533d7d25262.zip
Move subsampling rate definitions from nxplayer.h to audio.h
Diffstat (limited to 'apps/system')
-rw-r--r--apps/system/nxplayer/nxplayer.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/apps/system/nxplayer/nxplayer.c b/apps/system/nxplayer/nxplayer.c
index cf834f852..444608198 100644
--- a/apps/system/nxplayer/nxplayer.c
+++ b/apps/system/nxplayer/nxplayer.c
@@ -38,18 +38,19 @@
****************************************************************************/
#include <nuttx/config.h>
-#include <nuttx/audio/audio.h>
-#include <debug.h>
#include <sys/types.h>
+#include <sys/ioctl.h>
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <fcntl.h>
-#include <sys/ioctl.h>
#include <errno.h>
#include <dirent.h>
+#include <debug.h>
+#include <nuttx/audio/audio.h>
#include <apps/nxplayer.h>
/****************************************************************************
@@ -1169,7 +1170,7 @@ int nxplayer_resume(FAR struct nxplayer_s *pPlayer)
#ifndef CONFIG_AUDIO_EXCLUDE_FFORWARD
int nxplayer_fforward(FAR struct nxplayer_s *pPlayer,
- enum nxplayer_subsample_e subsample)
+ enum audio_subsample_e subsample)
{
#warning Missing logic
return -ENOSYS;
@@ -1198,7 +1199,7 @@ int nxplayer_fforward(FAR struct nxplayer_s *pPlayer,
#ifndef CONFIG_AUDIO_EXCLUDE_REWIND
int nxplayer_rewind(FAR struct nxplayer_s *pPlayer,
- enum nxplayer_subsample_e subsample)
+ enum audio_subsample_e subsample)
{
#warning Missing logic
return -ENOSYS;