annotate src/nativesound.h @ 490:38fb9ae12edd

[xemacs-hg @ 2001-04-30 09:12:03 by martinb] a better string hash function
author martinb
date Mon, 30 Apr 2001 09:12:04 +0000
parents b8cc9ab3f761
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
406
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
1 /* Sound functions.
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
2 Copyright (C) 2000 Free Software Foundation, Inc.
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
3
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
4 This file is part of XEmacs.
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
5
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
6 XEmacs is free software; you can redistribute it and/or modify it
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
7 under the terms of the GNU General Public License as published by the
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
8 Free Software Foundation; either version 2, or (at your option) any
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
9 later version.
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
10
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
14 for more details.
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
15
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
17 along with XEmacs; see the file COPYING. If not, write to
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
19 Boston, MA 02111-1307, USA. */
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
20
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
21 /* Synched up with: Not in FSF. */
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
22
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
23 /* These are defined in the appropriate file (sunplay.c, sgiplay.c,
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
24 or hpplay.c). */
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
25
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
26 void play_sound_file (char *name, int volume);
b8cc9ab3f761 Import from CVS: tag r21-2-33
cvs
parents:
diff changeset
27 int play_sound_data (unsigned char *data, int length, int volume);