tree: 447b3d85a4fab8c5e051655a5231a59bc32f5db4 [path history] [tgz]
  1. BUILD.gn
  2. README.md
  3. audio_player.cc
  4. audio_player.h
  5. audio_player_params.cc
  6. audio_player_params.h
  7. main.cc
examples/mediaplayer/audio_player/README.md

Audio Player Example App

This directory contains an application that uses media to create an audio player.

USAGE

The audio player uses a file reader or a network reader. To use the file reader, you‘ll need to have an accessible file. Here’s an example command line:

    audio_player /data/audio.ogg

Here's an example using the network reader:

    audio_player http://example.com/audio.ogg

Given a path or URL to play, the audio player will terminate unless the ‘service’ option is used. The ‘stay’ option will also prevent the player from terminating.