diff options
Diffstat (limited to 'apps/system/nxplayer/nxplayer_main.c')
-rw-r--r-- | apps/system/nxplayer/nxplayer_main.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/system/nxplayer/nxplayer_main.c b/apps/system/nxplayer/nxplayer_main.c index dab48544f..e9849cf69 100644 --- a/apps/system/nxplayer/nxplayer_main.c +++ b/apps/system/nxplayer/nxplayer_main.c @@ -189,7 +189,14 @@ static int nxplayer_cmd_play(FAR struct nxplayer_s *pPlayer, char* parg) ret = nxplayer_playfile(pPlayer, parg, AUDIO_FMT_UNDEF, AUDIO_FMT_UNDEF); - /* Test if the device file exists */ + /* nxplayer_playfile returned values: + * + * OK File is being played + * -EBUSY The media device is busy + * -ENOSYS The media file is an unsupported type + * -ENODEV No audio device suitable to play the media type + * -ENOENT The media file was not found + */ if (ret == -ENODEV) { |