Debian Codegraph @

external/portaudio/READ_ME.TXT

raw
1 Praats/external/portaudio/READ_ME.TXT
2 Paul Boersma, 30 April 2022
3 This file describes the adaptations to the PortAudio 19.7.0 sources
4 that are needed to make them compatible with Praat.
5
6 Deleted many lines in pa_***_hostapis.c.
7
8 Around pa_linux_alsa.c, do
9 #if defined (UNIX) && defined (ALSA)
10 ...
11 #endif
12
13 Around pa_jack.c, do
14 #if defined (UNIX) && defined (JACK)
15 ...
16 #endif
17
18 Around pa_win_*.c, do
19 #ifdef _WIN32
20 ...
21 #endif
22
23 Around pa_unix_util.c, do
24 #if defined (UNIX) || defined (macintosh)
25 ...
26 #endif
27
28 Replace all occurrences of
29 #if defined (PA_BIG_ENDIAN)
30 with
31 #if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
32 and all occurrences of
33 #if defined (PA_LITTLE_ENDIAN)
34 with
35 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
36 and as a result remove all of pa_endianness.h that has to do with these macros.
37
38 Copy declarations from pa_unix_hostapis.c and pa_win_hostapis.c to pa_hostapi.h, like this:
39
40 /*
41 ppgb: the following declarations copied here from pa_unix_hostapis.c.
42 */
43 PaError PaJack_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
44 PaError PaAlsa_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
45 PaError PaOSS_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
46 /* Added for IRIX, Pieter, oct 2, 2003: */
47 PaError PaSGI_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
48 /* Linux AudioScience HPI */
49 PaError PaAsiHpi_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
50 PaError PaMacCore_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
51 PaError PaSkeleton_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
52
53 /*
54 ppgb: the following declarations copied here from pa_win_hostapis.c.
55 */
56 PaError PaSkeleton_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
57 PaError PaWinMme_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
58 PaError PaWinDs_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
59 PaError PaAsio_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
60 PaError PaWinWdm_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
61 PaError PaWasapi_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );