diff --git a/include/nuttx/audio/audio.h b/include/nuttx/audio/audio.h index 761159d879..2903ed255b 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 */