tree: 787bb8f56651f45eff3fcfc4c6219eeb80d7a032 [path history] [tgz]
  1. meta/
  2. audio_player.cc
  3. audio_player.h
  4. audio_player_params.cc
  5. audio_player_params.h
  6. BUILD.gn
  7. main.cc
  8. README.md
examples/media/playback/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 /tmp/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.