diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-10-28 12:11:52 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-10-28 12:11:52 -0600 |
commit | b0d39caa141e2ff68255263fff07982641a4f656 (patch) | |
tree | 8c5e57a609fb696b8ef4261464ca936b4e5e2bfe /apps/include | |
parent | 022d45602666fd6966d721dde9635a62d8c56898 (diff) | |
download | nuttx-b0d39caa141e2ff68255263fff07982641a4f656.tar.gz nuttx-b0d39caa141e2ff68255263fff07982641a4f656.tar.bz2 nuttx-b0d39caa141e2ff68255263fff07982641a4f656.zip |
Add for audio sub-format in audion system. From Ken Pettit
Diffstat (limited to 'apps/include')
-rw-r--r-- | apps/include/nxplayer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/include/nxplayer.h b/apps/include/nxplayer.h index a23474033..13f70c381 100644 --- a/apps/include/nxplayer.h +++ b/apps/include/nxplayer.h @@ -180,6 +180,8 @@ int nxplayer_setdevice(FAR struct nxplayer_s *pPlayer, char* device); * filename - Pointer to pathname of the file to play * filefmt - Format of audio in filename if known, AUDIO_FMT_UNDEF * to let nxplayer_playfile() determine automatically. + * subfmt - Sub-Format of audio in filename if known, AUDIO_FMT_UNDEF + * to let nxplayer_playfile() determine automatically. * * Returned values: * OK if file found, device found, and playback started. @@ -187,7 +189,7 @@ int nxplayer_setdevice(FAR struct nxplayer_s *pPlayer, char* device); **************************************************************************/ int nxplayer_playfile(FAR struct nxplayer_s *pPlayer, char* filename, - int filefmt); + int filefmt, int subfmt); /**************************************************************************** * Name: nxplayer_stop @@ -353,4 +355,3 @@ int nxplayer_systemreset(FAR struct nxplayer_s *pPlayer); #endif #endif /* __APPS_SYSTEM_NXPLAYER_NXPLAYER_H */ - |