-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8938ea0
commit b41fb65
Showing
13 changed files
with
2,303 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Simon Peter <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
2002-03-13 Simon Peter <[email protected]> | ||
|
||
* adplay: initial version. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
bin_PROGRAMS=adplay | ||
|
||
adplay_SOURCES=adplay.cc adplay.1 system.h aclocal.m4 getopt.c getopt1.c getopt.h | ||
adplay_LDADD=-ladplug | ||
|
||
# install the man pages | ||
man_MANS=adplay.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
This is a brief overview of user-visible changes in adplay. | ||
|
||
Changes for version 1.1: | ||
- Rewrote using autoproject. | ||
- Wrote man page. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#serial 3 | ||
|
||
dnl From Jim Meyering | ||
|
||
dnl Define HAVE_STRUCT_UTIMBUF if `struct utimbuf' is declared -- | ||
dnl usually in <utime.h>. | ||
dnl Some systems have utime.h but don't declare the struct anywhere. | ||
|
||
AC_DEFUN(jm_CHECK_TYPE_STRUCT_UTIMBUF, | ||
[ | ||
AC_CHECK_HEADERS(utime.h) | ||
AC_REQUIRE([AC_HEADER_TIME]) | ||
AC_CACHE_CHECK([for struct utimbuf], fu_cv_sys_struct_utimbuf, | ||
[AC_TRY_COMPILE( | ||
[ | ||
#ifdef TIME_WITH_SYS_TIME | ||
# include <sys/time.h> | ||
# include <time.h> | ||
#else | ||
# ifdef HAVE_SYS_TIME_H | ||
# include <sys/time.h> | ||
# else | ||
# include <time.h> | ||
# endif | ||
#endif | ||
#ifdef HAVE_UTIME_H | ||
# include <utime.h> | ||
#endif | ||
], | ||
[static struct utimbuf x; x.actime = x.modtime;], | ||
fu_cv_sys_struct_utimbuf=yes, | ||
fu_cv_sys_struct_utimbuf=no) | ||
]) | ||
if test $fu_cv_sys_struct_utimbuf = yes; then | ||
AC_DEFINE_UNQUOTED(HAVE_STRUCT_UTIMBUF, 1, | ||
[Define if struct utimbuf is declared -- usually in <utime.h>. | ||
Some systems have utime.h but don't declare the struct anywhere. ]) | ||
fi | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
.\" hey, Emacs: -*- nroff -*- | ||
.\" adplay is free software; you can redistribute it and/or modify | ||
.\" it under the terms of the GNU General Public License as published by | ||
.\" the Free Software Foundation; either version 2 of the License, or | ||
.\" (at your option) any later version. | ||
.\" | ||
.\" This program is distributed in the hope that it will be useful, | ||
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
.\" GNU General Public License for more details. | ||
.\" | ||
.\" You should have received a copy of the GNU General Public License | ||
.\" along with this program; see the file COPYING. If not, write to | ||
.\" the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | ||
.\" | ||
.TH ADPLAY 1 "March 13, 2002" GNU "AdPlay" | ||
.\" Please update the above date whenever this man page is modified. | ||
.\" | ||
.\" Some roff macros, for reference: | ||
.\" .nh disable hyphenation | ||
.\" .hy enable hyphenation | ||
.\" .ad l left justify | ||
.\" .ad b justify to both left and right margins (default) | ||
.\" .nf disable filling | ||
.\" .fi enable filling | ||
.\" .br insert line break | ||
.\" .sp <n> insert n+1 empty lines | ||
.\" for manpage-specific macros, see man(7) | ||
.SH NAME | ||
adplay \- OPL2 audio player | ||
.SH SYNOPSIS | ||
.B adplay | ||
.RI [ OPTION ]... | ||
FILE... | ||
.SH DESCRIPTION | ||
\fBadplay\fP is AdPlug's UNIX console-based frontend. It tries to play | ||
back all given FILEs. | ||
.PP | ||
\fBadplay\fP plays endlessly, if only one file is given. With multiple files, | ||
it plays them in a sequence and exits after the last file. The same can | ||
also be accomplished with only one file, by using the \fB-o\fP option. | ||
.SH EXIT STATUS | ||
\fBadplay\fP returns 0 on successful operation. 1 is returned otherwise. | ||
.SH OPTIONS | ||
\fBadplay\fP accepts the following options: | ||
.TP | ||
.B \-8, \-\-8bit | ||
Use only 8-bit samples for playback. | ||
.TP | ||
.B \-\-16bit | ||
Use only 16-bit samples for playback. This is the default. | ||
.TP | ||
.B \-f, \-\-freq=FREQ | ||
Set playback frequency to FREQ, in Hz. This is set to 44100Hz by default. | ||
.TP | ||
.B \-\-stereo | ||
Use only stereo samples for playback. The sound stream is just doubled, no | ||
further audio processing is done. This option is pretty useless, if you | ||
don't have obscure audio hardware that only accepts stereo streams, because | ||
the OPL2 only generates mono sound. | ||
.TP | ||
.B \-\-mono | ||
Use only mono samples for playback. This is the default. | ||
.TP | ||
.B \-b \-\-buffer=SIZE | ||
Set sound buffer size to SIZE samples. If you notice sound skipping with the | ||
default setting, try a greater buffer size. Note that this is measured in | ||
samples, not bytes! This is set to 512 samples by default. | ||
.TP | ||
.B \-d \-\-device=FILE | ||
Set sound output device file to FILE. Right now, only OSS compatible devices | ||
are supported. This is set to \fB/dev/dsp\fP by default. | ||
.TP | ||
.B \-i \-\-instruments | ||
Display instrument names (if available) after the file type information. | ||
.TP | ||
.B \-r \-\-realtime | ||
Display realtime playback informations, while playing. This will display a | ||
one-line status bar, containing essential playback information. | ||
.TP | ||
.B \-m \-\-message | ||
Display the song message (if available) after the file type information. | ||
.TP | ||
.B \-s \-\-subsong=N | ||
Play subsong number N, instead of the first subsong. Only useful for | ||
file formats that support multiple subsongs. | ||
.TP | ||
.B \-o \-\-once | ||
Play only once, don't loop. This will exit \fBadplay\fP after the song | ||
ended. This option is set by default, if multiple \fBFILEs\fP are given. | ||
.TP | ||
.B \-h, \-\-help | ||
Show summary of options. | ||
.TP | ||
.B \-V, \-\-version | ||
Show version of program. | ||
.SH "SEE ALSO" | ||
.BR adplug (3). | ||
.SH AUTHOR | ||
Simon Peter <[email protected]>. |
Oops, something went wrong.