mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-31 22:23:06 +00:00
nxplayer_main.c:
code checker warning:
level_percent = (uint8_t) atoi(parg);
'atoi' used to convert a string to an integer value, but function will not report conversion errors; consider using 'strtol' instead.
nxlooper_main.c:
code checker warning:
percent = (uint16_t)(atof(parg) * 10.0);
'atof' used to convert a string to a floating-point value, but function will not report conversion errors; consider using 'strtod' instead
Signed-off-by: liubojun1 <liubojun1@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Make.defs | ||
| Makefile | ||
| nxplayer.c | ||
| nxplayer_main.c | ||
| nxplayer_mp3.c | ||
| nxplayer_pcm.c | ||
| README.md | ||
System / nxplayer NXPlayer
Author: Ken Pettit
Date: 11 Sept 2013
This application implements a command-line media player which uses the NuttX
Audio system to play files (mp3, wav, etc.) from the file system.
Usage:
nxplayer
The application presents an command line for specifying player commands, such as
play filename, pause, volume 50%, etc.