mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
3ead8d2266
* sndfile-play: Use Sun-compatible audio device on NetBSD Keep the gain unchanged. Avoids distortion from playing sounds too loudly and preserves the user's existing volume settings.
37 lines
652 B
Groff
37 lines
652 B
Groff
.Dd September 10, 2021
|
|
.Dt SNDFILE-PLAY 1
|
|
.Os
|
|
.Sh NAME
|
|
.Nm sndfile-play
|
|
.Nd play a sound file
|
|
.Sh SYNOPSIS
|
|
.Nm sndfile-play
|
|
.Ar
|
|
.Sh DESCRIPTION
|
|
.Nm
|
|
plays one or more sound files on various operating systems using standard audio
|
|
output APIs. The following table summarizes which audio API is used where:
|
|
.Pp
|
|
.Bl -tag -width MacOSX10XXX -compact
|
|
.It Linux
|
|
ALSA or OSS
|
|
.It OpenBSD
|
|
sndio
|
|
.It FreeBSD
|
|
/dev/dsp (OSS)
|
|
.It NetBSD
|
|
/dev/audio
|
|
.It Solaris
|
|
/dev/audio
|
|
.It MacOSX 10.6
|
|
CoreAudio
|
|
.It MacOSX 10.7
|
|
AudioToolbox
|
|
.It Win32
|
|
waveOut
|
|
.El
|
|
.Sh SEE ALSO
|
|
.Lk http://libsndfile.github.io/libsndfile/
|
|
.Sh AUTHORS
|
|
.An Erik de Castro Lopo Aq Mt erikd@mega-nerd.com
|