Edinburgh Speech Tools  2.1-release
EST_audio.h
Go to the documentation of this file.
1 /*************************************************************************/
2 /* */
3 /* Centre for Speech Technology Research */
4 /* University of Edinburgh, UK */
5 /* Copyright (c) 1995,1996 */
6 /* All Rights Reserved. */
7 /* */
8 /* Permission is hereby granted, free of charge, to use and distribute */
9 /* this software and its documentation without restriction, including */
10 /* without limitation the rights to use, copy, modify, merge, publish, */
11 /* distribute, sublicense, and/or sell copies of this work, and to */
12 /* permit persons to whom this work is furnished to do so, subject to */
13 /* the following conditions: */
14 /* 1. The code must retain the above copyright notice, this list of */
15 /* conditions and the following disclaimer. */
16 /* 2. Any modifications must be clearly marked as such. */
17 /* 3. Original authors' names are not deleted. */
18 /* 4. The authors' names are not used to endorse or promote products */
19 /* derived from this software without specific prior written */
20 /* permission. */
21 /* */
22 /* THE UNIVERSITY OF EDINBURGH AND THE CONTRIBUTORS TO THIS WORK */
23 /* DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING */
24 /* ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT */
25 /* SHALL THE UNIVERSITY OF EDINBURGH NOR THE CONTRIBUTORS BE LIABLE */
26 /* FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES */
27 /* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN */
28 /* AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, */
29 /* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF */
30 /* THIS SOFTWARE. */
31 /* */
32 /*************************************************************************/
33 /* Author : Paul Taylor */
34 /* Date : February 1995 */
35 /*-----------------------------------------------------------------------*/
36 /* Audio i/o public interface functions */
37 /* */
38 /*=======================================================================*/
39 #ifndef __EST_AUDIO_H__
40 #define __EST_AUDIO_H__
41 
42 #include "EST_Wave.h"
43 #include "EST_Option.h"
44 
45 extern int nas_supported;
46 extern int pulse_supported;
47 extern int sun16_supported;
48 extern int freebsd16_supported;
49 extern int linux16_supported;
50 extern int mplayer_supported;
51 extern int win32audio_supported;
52 extern int os2audio_supported;
53 extern int irix_supported;
54 extern int macosx_supported;
55 
56 int play_wave(EST_Wave &wave, EST_Option &al);
57 int record_wave(EST_Wave &wave, EST_Option &al);
58 
60 
61 #endif /* __EST_AUDIO_H__ */
A class for storing digital waveforms. The waveform is stored as an array of 16 bit shorts...
Definition: EST_Wave.h:64
int macosx_supported
Definition: macosxaudio.cc:220
EST_String options_supported_audio()
Definition: gen_audio.cc:249
int play_wave(EST_Wave &wave, EST_Option &al)
Definition: gen_audio.cc:62
int mplayer_supported
Definition: mplayer.cc:98
int freebsd16_supported
Definition: linux_sound.cc:881
int sun16_supported
Definition: sun16audio.cc:320
int record_wave(EST_Wave &wave, EST_Option &al)
Definition: gen_audio.cc:281
int os2audio_supported
Definition: os2audio.cc:258
int irix_supported
Definition: irixaudio.cc:88
int nas_supported
Definition: nas.cc:170
int pulse_supported
Definition: pulseaudio.cc:129
int win32audio_supported
Definition: win32audio.cc:122
int linux16_supported
Definition: linux_sound.cc:882