From 123efe6e231c9f35709e19609488b3c2c8ed613f Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 27 Jul 2014 11:05:25 -0600 Subject: [PATCH] Move subsampling rate definitions from nxplayer.h to audio.h --- include/nuttx/audio/audio.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/nuttx/audio/audio.h b/include/nuttx/audio/audio.h index 761159d879c..2903ed255b3 100644 --- a/include/nuttx/audio/audio.h +++ b/include/nuttx/audio/audio.h @@ -283,6 +283,18 @@ /**************************************************************************** * Public Types ****************************************************************************/ +/* Fast-forward and rewind by sub-sampling may be supported. If so, then + * this enumeration specifies the sub-sampling: + */ + +enum nxplayer_subsample_e +{ + SUBSAMPLE_1X = 0, /* Normal speed (no direction change) */ + SUBSAMPLE_2X, + SUBSAMPLE_4X, + SUBSAMPLE_8X, + SUBSAMPLE_16X +}; /* Define the size of AP Buffer sample count base on CONFIG */