-D, --card card Card number of the PCM. The default is 0.
-d, --device device Device number of the PCM. The default is 0.
-c, --channels channels Number of channels the PCM will have. This option is only valid for raw file types. The default is 2 for raw file types.
-r, --rate rate Number of frames per second of the PCM. This option is only valid for raw file types. The default is 48000 for raw file types.
-i, --file-type file-type The file type used for playback. Available types are raw and wav. Specifying raw means that channels, rate and bits may have to be specified as well. By default, the file type is determined by the file name. Specifying the file type with this option will take precedent over the one determined by the file name.
-b, --bits bits Number of bits per sample the PCM will have. This option is only valid for raw file types. The default is 16 for raw file types.
-p, --period-size period_size Number of frames in a period. The default is 1024.
-n, --period-count periods Number of periods the PCM will have. The default is 4.
tinyplay output.wav Plays a file called output.wav.
tinyplay output.wav -D 1 Plays a file called output.wav on card 1.
tinyplay output.raw -i raw --channels 2 --rate 44100 --bits 32 Plays a raw audio file called output.raw; using 2 channels, 44100 frames per second and 32 bits per sample.
For a complete list of authors, visit the project page at https://github.com/tinyalsa/tinyalsa.