nuttx-apps/system/nxplayer
Tiago Medicci Serrano 3a1893ba7e nxplayer: read file completely until 0 bytes are returned
Previously, if the read bytes were less than the requested, the
file was closed immediately. This behavior, however, does not
consider the fact that the read operation may be blocking when
no bytes are available at the moment. That is true for a named pipe
(FIFO), for instance. Thus, reading it again lets to the underlying
file system the decision of 1) blocking until bytes become
available or 2) return 0 immediately (the case for actual files) or
3) read available bytes.
2023-03-21 07:51:18 +09:00
..
Kconfig nxplayer & nxrecorder: make main thread configurable, set to default 2020-11-03 21:45:59 -08:00
Make.defs Makefiles: Gregory Nutt: update licenses to Apache 2021-06-07 21:35:33 -05:00
Makefile nxplayer: enqueue streaming data to audio driver. 2023-01-31 22:26:39 +08:00
nxplayer_common.c nxplayer: read file completely until 0 bytes are returned 2023-03-21 07:51:18 +09:00
nxplayer_main.c apps/system/nxplayer&nxlooper: fix codechecker warning 2023-01-25 23:44:07 +02:00
nxplayer_mp3.c fsutils/examples: Include unistd.h explicitly 2023-02-05 08:46:59 +02:00
nxplayer.c fsutils/examples: Include unistd.h explicitly 2023-02-05 08:46:59 +02:00
README.md Rewritten READMEs to Markdown 2020-07-25 01:01:51 -07:00

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.