Skip to content

Commit

Permalink
checking the output file from fast render fails in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrolcl committed Nov 2, 2024
1 parent 3edd858 commit b2a82e3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ set ( ALSA_MINIMUM_VERSION 0.9.1 )
set ( DBUS_MINIMUM_VERSION 1.11.12 )
set ( GLIB2_MINUMUM_VERSION 2.6.5 )
set ( LIBINSTPATCH_MINIMUM_VERSION 1.1.0 )
set ( LIBSNDFILE_MINIMUM_VERSION 1.0.0 )
set ( LIBSNDFILE_MINIMUM_VERSION 1.2.1 )
set ( PIPEWIRE_MINIMUM_VERSION 0.3 )
set ( PORTAUDIO_MINIMUM_VERSION 2.19 )
set ( PULSEAUDIO_MINIMUM_VERSION 2.0 )
Expand Down
13 changes: 10 additions & 3 deletions test/test_fast_render.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ int main(void)

renderer = new_fluid_file_renderer(synth);
TEST_ASSERT(renderer != NULL);

fluid_player_play(player);
TEST_SUCCESS(fluid_player_play(player));

while (fluid_player_get_status(player) == FLUID_PLAYER_PLAYING)
{
Expand All @@ -50,6 +50,13 @@ int main(void)
delete_fluid_player(player);
delete_fluid_synth(synth);
delete_fluid_settings(settings);


#if 0
FILE *file;
file = FLUID_FOPEN(TEST_WAV_UTF8, "rb");
TEST_ASSERT(file != NULL);
TEST_ASSERT(FLUID_FCLOSE(file) == 0);
#endif

return EXIT_SUCCESS;
}

0 comments on commit b2a82e3

Please sign in to comment.