Skip to content

Commit 23e0281

Browse files
committed
Release 1.0.27
* Better support of MacOS. * Added possibility to modify configuration parameters. * Updated module versions in dependencies.
2 parents 66278de + 3d14df1 commit 23e0281

File tree

111 files changed

+1745
-913
lines changed

Some content is hidden

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

111 files changed

+1745
-913
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
* RECENT CHANGES
33
*******************************************************************************
44

5+
=== 1.0.27 ===
6+
* Better support of MacOS.
7+
* Added possibility to modify configuration parameters.
8+
* Updated module versions in dependencies.
9+
510
=== 1.0.26 ===
611
* Updated build scripts.
712
* Updated module versions in dependencies.

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,16 @@ These modules provide currently:
5656

5757
The following packages need to be installed for building:
5858

59-
* gcc >= 4.9
59+
* gcc >= 4.9 or clang >= 11.0.1
6060
* make >= 4.0
6161

62+
## Supported platforms
63+
64+
* FreeBSD
65+
* GNU/Linux
66+
* MacOS
67+
* Windows
68+
6269
## Building
6370

6471
To build the library, perform the following commands:

dependencies.mk

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,20 @@ ifeq ($(PLATFORM),Windows)
7373
TEST_DEPENDENCIES += $(WINDOWS_TEST_DEPENDENCIES)
7474
endif
7575

76+
#------------------------------------------------------------------------------
77+
# MacOS dependencies
78+
MACOS_DEPENDENCIES = \
79+
LIBAUDIOTOOLBOX \
80+
LIBCOREFOUNDATION \
81+
LIBICONV
82+
83+
MACOS_TEST_DEPENDENCIES =
84+
85+
ifeq ($(PLATFORM),MacOS)
86+
DEPENDENCIES += $(MACOS_DEPENDENCIES)
87+
TEST_DEPENDENCIES += $(MACOS_TEST_DEPENDENCIES)
88+
endif
89+
7690
#------------------------------------------------------------------------------
7791
# Haiku dependencies
7892
HAIKU_DEPENDENCIES = \
@@ -95,10 +109,12 @@ ALL_DEPENDENCIES = \
95109
$(LINUX_DEPENDENCIES) \
96110
$(BSD_DEPENDENCIES) \
97111
$(WINDOWS_DEPENDENCIES) \
112+
$(MACOS_DEPENDENCIES) \
98113
$(HAIKU_DEPENDENCIES) \
99114
$(TEST_DEPENDENCIES) \
100115
$(LINUX_TEST_DEPENDENCIES) \
101116
$(BSD_TEST_DEPENDENCIES) \
102117
$(WINDOWS_TEST_DEPENDENCIES) \
118+
$(MACOS_TEST_DEPENDENCIES) \
103119
$(HAIKU_TEST_DEPENDENCIES)
104120

include/lsp-plug.in/expr/Expression.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (C) 2023 Linux Studio Plugins Project <https://lsp-plug.in/>
3-
* (C) 2023 Vladimir Sadovnikov <[email protected]>
2+
* Copyright (C) 2025 Linux Studio Plugins Project <https://lsp-plug.in/>
3+
* (C) 2025 Vladimir Sadovnikov <[email protected]>
44
*
55
* This file is part of lsp-runtime-lib
66
* Created on: 16 сент. 2019 г.
@@ -132,7 +132,7 @@ namespace lsp
132132

133133
/**
134134
* Evaluate the specific expression
135-
* @param index expression index
135+
* @param idx expression index
136136
* @param result pointer to return value of the specified expression
137137
* @return status of operation
138138
*/

include/lsp-plug.in/fmt/Hydrogen.h

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
3-
* (C) 2020 Vladimir Sadovnikov <[email protected]>
2+
* Copyright (C) 2025 Linux Studio Plugins Project <https://lsp-plug.in/>
3+
* (C) 2025 Vladimir Sadovnikov <[email protected]>
44
*
55
* This file is part of lsp-runtime-lib
66
* Created on: 11 июл. 2020 г.
@@ -138,20 +138,21 @@ namespace lsp
138138

139139
/**
140140
* Load drumkit from character input stream
141-
* @param input stream pointer
141+
* @param is input stream pointer
142142
* @param dst pointer to store drumkit data
143143
* @return status of operation
144144
*/
145145
status_t load(io::IInStream *is, drumkit_t *dst);
146146

147147
/**
148148
* Load drumkit from character input stream
149-
* @param input sequence pointer
149+
* @param is input sequence pointer
150150
* @param dst pointer to store drumkit data
151151
* @return status of operation
152152
*/
153153
status_t load(io::IInSequence *is, drumkit_t *dst);
154-
}
155-
}
154+
155+
} /* namespace hydrogen */
156+
} /* namespace lsp */
156157

157158
#endif /* LSP_PLUG_IN_FMT_HYDROGEN_H_ */

include/lsp-plug.in/fmt/RoomEQWizard.h

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
3-
* (C) 2020 Vladimir Sadovnikov <[email protected]>
2+
* Copyright (C) 2025 Linux Studio Plugins Project <https://lsp-plug.in/>
3+
* (C) 2025 Vladimir Sadovnikov <[email protected]>
44
*
55
* This file is part of lsp-runtime-lib
66
* Created on: 6 сент. 2019 г.
@@ -132,7 +132,7 @@ namespace lsp
132132

133133
/**
134134
* Load configuration from character input stream
135-
* @param input stream pointer
135+
* @param is input stream pointer
136136
* @param dst pointer to store configuration,
137137
* configuration should be free()'d after use
138138
* @return status of operation
@@ -141,7 +141,7 @@ namespace lsp
141141

142142
/**
143143
* Load configuration from file
144-
* @param input stream pointer
144+
* @param fd input file pointer
145145
* @param dst pointer to store configuration,
146146
* configuration should be free()'d after use
147147
* @return status of operation
@@ -157,7 +157,8 @@ namespace lsp
157157
* @return status of operation
158158
*/
159159
status_t load(const void *data, size_t size, config_t **dst);
160-
}
161-
}
160+
161+
} /* namespace room_ew */
162+
} /* namespace lsp */
162163

163164
#endif /* LSP_PLUG_IN_FMT_ROOMEQWIZARD_H_ */

include/lsp-plug.in/fmt/config/PullParser.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,10 @@ namespace lsp
144144
* @param ev pointer to structure to store the event
145145
* @return status of operation
146146
*/
147-
virtual status_t next(param_t *param = NULL);
147+
virtual status_t next(param_t *ev = NULL);
148148

149149
/**
150150
* Get current event
151-
* @param ev pointer to structure to store the event
152151
* @return NULL if there is no current event
153152
*/
154153
virtual const param_t *current() const;

include/lsp-plug.in/fmt/config/Serializer.h

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ namespace lsp
108108
/**
109109
* Wrap input stream with parser
110110
* @param os output stream
111-
* @param version JSON version
112111
* @param flags wrapping flags
113112
* @param charset character set
114113
* @return status of operation
@@ -124,15 +123,13 @@ namespace lsp
124123
public:
125124
/**
126125
* Write comment to the output stream
127-
* @param key key
128126
* @param v comment
129127
* @return status of operation
130128
*/
131129
virtual status_t write_comment(const LSPString *v);
132130

133131
/**
134132
* Write comment to the output stream
135-
* @param key key
136133
* @param v UTF-8 encoded comment
137134
* @return status of operation
138135
*/
@@ -157,7 +154,7 @@ namespace lsp
157154
/**
158155
* Write 32-bit signed integer to the output stream
159156
* @param key key
160-
* @param v value
157+
* @param value value
161158
* @param flags value flags
162159
* @return status of operation
163160
*/
@@ -167,7 +164,7 @@ namespace lsp
167164
/**
168165
* Write 32-bit unsigned integer to the output stream
169166
* @param key key
170-
* @param v value
167+
* @param value value
171168
* @param flags value flags
172169
* @return status of operation
173170
*/
@@ -177,7 +174,7 @@ namespace lsp
177174
/**
178175
* Write 32-bit floating-point to the output stream
179176
* @param key key
180-
* @param v value
177+
* @param value value
181178
* @param flags value flags
182179
* @return status of operation
183180
*/
@@ -187,7 +184,7 @@ namespace lsp
187184
/**
188185
* Write 64-bit signed integer to the output stream
189186
* @param key key
190-
* @param v value
187+
* @param value value
191188
* @param flags value flags
192189
* @return status of operation
193190
*/
@@ -197,7 +194,7 @@ namespace lsp
197194
/**
198195
* Write 64-bit unsigned integer to the output stream
199196
* @param key key
200-
* @param v value
197+
* @param value value
201198
* @param flags value flags
202199
* @return status of operation
203200
*/
@@ -207,7 +204,7 @@ namespace lsp
207204
/**
208205
* Write 64-bit floating-point to the output stream
209206
* @param key key
210-
* @param v value
207+
* @param value value
211208
* @param flags value flags
212209
* @return status of operation
213210
*/
@@ -217,7 +214,7 @@ namespace lsp
217214
/**
218215
* Write boolean value to the output stream
219216
* @param key key
220-
* @param v value
217+
* @param value value
221218
* @param flags value flags
222219
* @return status of operation
223220
*/

include/lsp-plug.in/fmt/config/types.h

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
3-
* (C) 2020 Vladimir Sadovnikov <[email protected]>
2+
* Copyright (C) 2025 Linux Studio Plugins Project <https://lsp-plug.in/>
3+
* (C) 2025 Vladimir Sadovnikov <[email protected]>
44
*
55
* This file is part of lsp-runtime-lib
66
* Created on: 29 апр. 2020 г.
@@ -86,10 +86,6 @@ namespace lsp
8686
*/
8787
typedef struct param_t
8888
{
89-
private:
90-
param_t &operator = (const param_t &);
91-
param_t (const param_t &);
92-
9389
public:
9490
LSPString name; // Name of parameter
9591
LSPString comment; // Comment
@@ -98,8 +94,13 @@ namespace lsp
9894

9995
public:
10096
explicit param_t();
97+
param_t(const param_t &) = delete;
98+
param_t(param_t &&) = delete;
10199
~param_t();
102100

101+
param_t &operator = (const param_t &) = delete;
102+
param_t &operator = (param_t &&) = delete;
103+
103104
public:
104105
bool copy(const param_t *src);
105106
inline bool copy(const param_t &src) { return copy(&src); };
@@ -154,8 +155,23 @@ namespace lsp
154155
inline float to_float() const { return to_f32(); }
155156
inline double to_double() const { return to_f64(); }
156157
bool to_bool() const;
158+
159+
// Updates
160+
void set_i32(int32_t value);
161+
void set_u32(uint32_t value);
162+
void set_i64(int64_t value);
163+
void set_u64(uint64_t value);
164+
void set_f32(float value);
165+
void set_f64(double value);
166+
inline void set_float(float value) { set_f32(value); }
167+
inline void set_doublet(double value) { set_f64(value); }
168+
void set_bool(bool value);
169+
bool set_string(const char *value);
170+
bool set_blob(const blob_t *value);
171+
bool set_blob(size_t length, const char *ctype, const char *data);
157172
} param_t;
158-
}
159-
}
173+
174+
} /* namespace config */
175+
} /* namespace lsp */
160176

161177
#endif /* LSP_PLUG_IN_FMT_CONFIG_TYPES_H_ */

include/lsp-plug.in/fmt/java/Handles.h

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
3-
* (C) 2020 Vladimir Sadovnikov <[email protected]>
2+
* Copyright (C) 2025 Linux Studio Plugins Project <https://lsp-plug.in/>
3+
* (C) 2025 Vladimir Sadovnikov <[email protected]>
44
*
55
* This file is part of lsp-runtime-lib
66
* Created on: 29 авг. 2019 г.
@@ -31,8 +31,6 @@ namespace lsp
3131
{
3232
namespace java
3333
{
34-
35-
3634
/**
3735
* This is implementation of storage for handles read from
3836
* the object stream
@@ -46,7 +44,12 @@ namespace lsp
4644

4745
public:
4846
explicit Handles();
47+
Handles(const Handles &) = delete;
48+
Handles(Handles &&) = delete;
4949
~Handles();
50+
51+
Handles & operator = (const Handles &) = delete;
52+
Handles & operator = (Handles &&) = delete;
5053

5154
public:
5255
/**
@@ -70,7 +73,6 @@ namespace lsp
7073

7174
/**
7275
* Bind object to the specified handle
73-
* @param handle handle
7476
* @param obj java object
7577
* @return status of operation
7678
*/

0 commit comments

Comments
 (0)