Skip to content

Commit 00a08c8

Browse files
authored
MacOS catalyst support (#181)
### Why is this change needed? <!-- Explain the motivation for this change. What problem does it solve? -->
1 parent 8ef20fd commit 00a08c8

538 files changed

Lines changed: 6884 additions & 6 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Sources/FluidAudio/Frameworks/ESpeakNG.xcframework/Info.plist

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,23 @@
1818
<key>SupportedPlatform</key>
1919
<string>ios</string>
2020
</dict>
21+
<dict>
22+
<key>BinaryPath</key>
23+
<string>ESpeakNG.framework/ESpeakNG</string>
24+
<key>LibraryIdentifier</key>
25+
<string>ios-arm64_x86_64-maccatalyst</string>
26+
<key>LibraryPath</key>
27+
<string>ESpeakNG.framework</string>
28+
<key>SupportedArchitectures</key>
29+
<array>
30+
<string>arm64</string>
31+
<string>x86_64</string>
32+
</array>
33+
<key>SupportedPlatform</key>
34+
<string>ios</string>
35+
<key>SupportedPlatformVariant</key>
36+
<string>maccatalyst</string>
37+
</dict>
2138
<dict>
2239
<key>BinaryPath</key>
2340
<string>ESpeakNG.framework/ESpeakNG</string>

Sources/FluidAudio/Frameworks/ESpeakNG.xcframework/ios-arm64/ESpeakNG.framework/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<key>CFBundlePackageType</key>
1212
<string>FMWK</string>
1313
<key>CFBundleShortVersionString</key>
14-
<string>1.52.2</string>
14+
<string>1.52.3</string>
1515
<key>CFBundleVersion</key>
16-
<string>1.52.2</string>
16+
<string>1.52.3</string>
1717
<key>MinimumOSVersion</key>
1818
<string>17.0</string>
1919
</dict>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#import <ESpeakNG/espeak_ng.h>
2+
#import <ESpeakNG/speak_lib.h>
3+
#import <ESpeakNG/encoding.h>
4+
#import <ESpeakNG/espeak-ng/espeak_ng.h>
5+
#import <ESpeakNG/espeak-ng/speak_lib.h>
6+
#import <ESpeakNG/espeak-ng/encoding.h>
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
/*
2+
* Copyright (C) 2017 Reece H. Dunn
3+
*
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License as published by
6+
* the Free Software Foundation; either version 3 of the License, or
7+
* (at your option) any later version.
8+
*
9+
* This program is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU General Public License
15+
* along with this program; if not, see: <http://www.gnu.org/licenses/>.
16+
*/
17+
#ifndef ESPEAK_NG_ENCODING_H
18+
#define ESPEAK_NG_ENCODING_H
19+
20+
#include <stdint.h>
21+
22+
#ifdef __cplusplus
23+
extern "C"
24+
{
25+
#endif
26+
27+
typedef enum
28+
{
29+
ESPEAKNG_ENCODING_UNKNOWN,
30+
ESPEAKNG_ENCODING_US_ASCII,
31+
ESPEAKNG_ENCODING_ISO_8859_1,
32+
ESPEAKNG_ENCODING_ISO_8859_2,
33+
ESPEAKNG_ENCODING_ISO_8859_3,
34+
ESPEAKNG_ENCODING_ISO_8859_4,
35+
ESPEAKNG_ENCODING_ISO_8859_5,
36+
ESPEAKNG_ENCODING_ISO_8859_6,
37+
ESPEAKNG_ENCODING_ISO_8859_7,
38+
ESPEAKNG_ENCODING_ISO_8859_8,
39+
ESPEAKNG_ENCODING_ISO_8859_9,
40+
ESPEAKNG_ENCODING_ISO_8859_10,
41+
ESPEAKNG_ENCODING_ISO_8859_11,
42+
// ISO-8859-12 is not a valid encoding.
43+
ESPEAKNG_ENCODING_ISO_8859_13,
44+
ESPEAKNG_ENCODING_ISO_8859_14,
45+
ESPEAKNG_ENCODING_ISO_8859_15,
46+
ESPEAKNG_ENCODING_ISO_8859_16,
47+
ESPEAKNG_ENCODING_KOI8_R,
48+
ESPEAKNG_ENCODING_ISCII,
49+
ESPEAKNG_ENCODING_UTF_8,
50+
ESPEAKNG_ENCODING_ISO_10646_UCS_2,
51+
} espeak_ng_ENCODING;
52+
53+
ESPEAK_NG_API espeak_ng_ENCODING
54+
espeak_ng_EncodingFromName(const char *encoding);
55+
56+
typedef struct espeak_ng_TEXT_DECODER_ espeak_ng_TEXT_DECODER;
57+
58+
ESPEAK_NG_API espeak_ng_TEXT_DECODER *
59+
create_text_decoder(void);
60+
61+
ESPEAK_NG_API void
62+
destroy_text_decoder(espeak_ng_TEXT_DECODER *decoder);
63+
64+
ESPEAK_NG_API espeak_ng_STATUS
65+
text_decoder_decode_string(espeak_ng_TEXT_DECODER *decoder,
66+
const char *string,
67+
int length,
68+
espeak_ng_ENCODING encoding);
69+
70+
ESPEAK_NG_API espeak_ng_STATUS
71+
text_decoder_decode_string_auto(espeak_ng_TEXT_DECODER *decoder,
72+
const char *string,
73+
int length,
74+
espeak_ng_ENCODING encoding);
75+
76+
ESPEAK_NG_API espeak_ng_STATUS
77+
text_decoder_decode_wstring(espeak_ng_TEXT_DECODER *decoder,
78+
const wchar_t *string,
79+
int length);
80+
81+
ESPEAK_NG_API espeak_ng_STATUS
82+
text_decoder_decode_string_multibyte(espeak_ng_TEXT_DECODER *decoder,
83+
const void *input,
84+
espeak_ng_ENCODING encoding,
85+
int flags);
86+
87+
ESPEAK_NG_API int
88+
text_decoder_eof(espeak_ng_TEXT_DECODER *decoder);
89+
90+
ESPEAK_NG_API uint32_t
91+
text_decoder_getc(espeak_ng_TEXT_DECODER *decoder);
92+
93+
ESPEAK_NG_API uint32_t
94+
text_decoder_peekc(espeak_ng_TEXT_DECODER *decoder);
95+
96+
ESPEAK_NG_API const void *
97+
text_decoder_get_buffer(espeak_ng_TEXT_DECODER *decoder);
98+
99+
#ifdef __cplusplus
100+
}
101+
#endif
102+
103+
#endif
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
/*
2+
* Copyright (C) 2017 Reece H. Dunn
3+
*
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License as published by
6+
* the Free Software Foundation; either version 3 of the License, or
7+
* (at your option) any later version.
8+
*
9+
* This program is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU General Public License
15+
* along with this program; if not, see: <http://www.gnu.org/licenses/>.
16+
*/
17+
#ifndef ESPEAK_NG_ENCODING_H
18+
#define ESPEAK_NG_ENCODING_H
19+
20+
#include <stdint.h>
21+
22+
#ifdef __cplusplus
23+
extern "C"
24+
{
25+
#endif
26+
27+
typedef enum
28+
{
29+
ESPEAKNG_ENCODING_UNKNOWN,
30+
ESPEAKNG_ENCODING_US_ASCII,
31+
ESPEAKNG_ENCODING_ISO_8859_1,
32+
ESPEAKNG_ENCODING_ISO_8859_2,
33+
ESPEAKNG_ENCODING_ISO_8859_3,
34+
ESPEAKNG_ENCODING_ISO_8859_4,
35+
ESPEAKNG_ENCODING_ISO_8859_5,
36+
ESPEAKNG_ENCODING_ISO_8859_6,
37+
ESPEAKNG_ENCODING_ISO_8859_7,
38+
ESPEAKNG_ENCODING_ISO_8859_8,
39+
ESPEAKNG_ENCODING_ISO_8859_9,
40+
ESPEAKNG_ENCODING_ISO_8859_10,
41+
ESPEAKNG_ENCODING_ISO_8859_11,
42+
// ISO-8859-12 is not a valid encoding.
43+
ESPEAKNG_ENCODING_ISO_8859_13,
44+
ESPEAKNG_ENCODING_ISO_8859_14,
45+
ESPEAKNG_ENCODING_ISO_8859_15,
46+
ESPEAKNG_ENCODING_ISO_8859_16,
47+
ESPEAKNG_ENCODING_KOI8_R,
48+
ESPEAKNG_ENCODING_ISCII,
49+
ESPEAKNG_ENCODING_UTF_8,
50+
ESPEAKNG_ENCODING_ISO_10646_UCS_2,
51+
} espeak_ng_ENCODING;
52+
53+
ESPEAK_NG_API espeak_ng_ENCODING
54+
espeak_ng_EncodingFromName(const char *encoding);
55+
56+
typedef struct espeak_ng_TEXT_DECODER_ espeak_ng_TEXT_DECODER;
57+
58+
ESPEAK_NG_API espeak_ng_TEXT_DECODER *
59+
create_text_decoder(void);
60+
61+
ESPEAK_NG_API void
62+
destroy_text_decoder(espeak_ng_TEXT_DECODER *decoder);
63+
64+
ESPEAK_NG_API espeak_ng_STATUS
65+
text_decoder_decode_string(espeak_ng_TEXT_DECODER *decoder,
66+
const char *string,
67+
int length,
68+
espeak_ng_ENCODING encoding);
69+
70+
ESPEAK_NG_API espeak_ng_STATUS
71+
text_decoder_decode_string_auto(espeak_ng_TEXT_DECODER *decoder,
72+
const char *string,
73+
int length,
74+
espeak_ng_ENCODING encoding);
75+
76+
ESPEAK_NG_API espeak_ng_STATUS
77+
text_decoder_decode_wstring(espeak_ng_TEXT_DECODER *decoder,
78+
const wchar_t *string,
79+
int length);
80+
81+
ESPEAK_NG_API espeak_ng_STATUS
82+
text_decoder_decode_string_multibyte(espeak_ng_TEXT_DECODER *decoder,
83+
const void *input,
84+
espeak_ng_ENCODING encoding,
85+
int flags);
86+
87+
ESPEAK_NG_API int
88+
text_decoder_eof(espeak_ng_TEXT_DECODER *decoder);
89+
90+
ESPEAK_NG_API uint32_t
91+
text_decoder_getc(espeak_ng_TEXT_DECODER *decoder);
92+
93+
ESPEAK_NG_API uint32_t
94+
text_decoder_peekc(espeak_ng_TEXT_DECODER *decoder);
95+
96+
ESPEAK_NG_API const void *
97+
text_decoder_get_buffer(espeak_ng_TEXT_DECODER *decoder);
98+
99+
#ifdef __cplusplus
100+
}
101+
#endif
102+
103+
#endif

0 commit comments

Comments
 (0)