---
name: "playsound"
section: "1"
platform: "linux"
package: "libsdl-sound1.2"
version: "1.0.3-3+b1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/playsound"
---

# playsound(1)

quick and dirty test for SDL\_sound

## NAME

playsound - quick and dirty test for SDL\_sound

## SYNOPSIS

**playsound** \[*...options...*\] *\[soundFile1\]* ... *\[soundFileN\]*

## DESCRIPTION

\`playsound' plays a sound.

- **--rate** **n**

  Playback at sample rate of n HZ.

- **--format** **fmt**

  Playback in fmt format (see below).

- **--channels** **n**

  Playback on n channels (1 or 2).

- **--decodebuf** **n**

  Buffer n decoded bytes at a time (default 16384).

- **--audiobuf** **n**

  Buffer n samples to audio device (default 4096).

- **--volume** **n**

  Playback volume multiplier (default 1.0).

- **--stdin** **\[ext\]**

  Read from stdin (treat data as format \[ext\])

- **--version**

  Display version information and exit.

- **--decoders**

  List supported data formats and exit.

- **--predecode**

  Decode entire sample before playback.

- **--loop** **n**

  Loop playback n times.

- **--seek** **list**

  List of seek points and playback durations.

- **--credits**

  Shameless promotion.

- **--help**

  Display this information and exit.

## AUTHOR

Written by Ryan C. Gordon

This manual page was written by Barry deFreese \<bddebian@comcast.net\> for  the Debian distribution but may be used elsewhere.

## REPORTING BUGS

Report bugs to \<icculus@clutteredmind.org\>.

## COPYRIGHT

Copyright © 2001 Ryan C. Gordon \<icculus@clutteredmind.org\>\
 This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

## SEE ALSO
