Skip to content

Commit

Permalink
Merge branch 'master' into awe32-nrpn
Browse files Browse the repository at this point in the history
  • Loading branch information
derselbst committed Jun 29, 2024
2 parents 2eb8ed8 + 84c01f8 commit 31cff1b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cmake_admin/FindGLib2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ find_package(PkgConfig QUIET)
pkg_check_modules(PC_GLIB2 QUIET glib-2.0)
pkg_check_modules(PC_GTHREAD2 QUIET gthread-2.0)
pkg_check_modules(PC_GMODULE2 QUIET gmodule-2.0)
pkg_check_modules(PC_GMODULE2 QUIET gobject-2.0)
pkg_check_modules(PC_GOBJECT2 QUIET gobject-2.0)

# Find the headers and libraries
find_path(
Expand Down Expand Up @@ -209,7 +209,7 @@ if(GLib2_gobject-2_LIBRARY AND NOT TARGET GLib2::gobject-2)
# Handle transitive dependencies
if(PC_GOBJECT2_FOUND)
get_target_properties_from_pkg_config("${GLib2_gobject-2_LIBRARY}"
"PC_OBJECT2" "_gobject2")
"PC_GOBJECT2" "_gobject2")
else()
find_package(libffi QUIET)
set(_gobject2_link_libraries "libffi" "GLib2::glib-2")
Expand Down
2 changes: 1 addition & 1 deletion doc/fluidsettings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ Developers:
<ul>
<li>gs: (default) CC0 becomes the bank number, CC32 is ignored.</li>
<li>gm: ignores CC0 and CC32 messages.</li>
<li>xg: if CC0&lt;120 then channel is set to melodic and CC32 is the bank number. If CC0&gt;=120 then channel is set to drum and the bank number is set to 128 (CC32 is ignored).</li>
<li>mma: bank is calculated as CC0*128+CC32.</li>
<li>xg: If CC0 is equal to 120, 126, or 127 then channel is set to drum and the bank number is set to 128 (CC32 is ignored). Otherwise the channel is set to melodic and CC32 is the bank number. Note that you need fluidsynth &gt;=2.3.5 for this to work correctly, previous versions behaved incorrectly.</li>
</ul>
</desc>
</setting>
Expand Down
2 changes: 1 addition & 1 deletion src/sfloader/fluid_defsfont.c
Original file line number Diff line number Diff line change
Expand Up @@ -1752,7 +1752,7 @@ fluid_preset_zone_get_inst(fluid_preset_zone_t *zone)
* new_fluid_inst
*/
fluid_inst_t *
new_fluid_inst()
new_fluid_inst(void)
{
fluid_inst_t *inst = FLUID_NEW(fluid_inst_t);

Expand Down
4 changes: 2 additions & 2 deletions src/sfloader/fluid_sfont.c
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ void delete_fluid_preset(fluid_preset_t *preset)
* @return The sample on success, NULL otherwise.
*/
fluid_sample_t *
new_fluid_sample()
new_fluid_sample(void)
{
fluid_sample_t *sample = NULL;

Expand Down Expand Up @@ -544,7 +544,7 @@ delete_fluid_sample(fluid_sample_t *sample)
*
* @warning Do NOT allocate samples on the stack and assign them to a voice!
*/
size_t fluid_sample_sizeof()
size_t fluid_sample_sizeof(void)
{
return sizeof(fluid_sample_t);
}
Expand Down
2 changes: 1 addition & 1 deletion src/synth/fluid_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fluid_event_clear(fluid_event_t *evt)
* @return New sequencer event structure or NULL if out of memory
*/
fluid_event_t *
new_fluid_event()
new_fluid_event(void)
{
fluid_event_t *evt;

Expand Down

0 comments on commit 31cff1b

Please sign in to comment.