Removed a couple warnings
This commit is contained in:
parent
375945d372
commit
140fb83951
1 changed files with 6 additions and 6 deletions
|
|
@ -187,7 +187,7 @@ instantiate(const LV2_Descriptor *descriptor,
|
||||||
{
|
{
|
||||||
UNUSED(descriptor);
|
UNUSED(descriptor);
|
||||||
UNUSED(path);
|
UNUSED(path);
|
||||||
LV2_Options_Option *options;
|
LV2_Options_Option *options = NULL;
|
||||||
bool supports_bounded_block_size = false;
|
bool supports_bounded_block_size = false;
|
||||||
bool options_has_block_size = false;
|
bool options_has_block_size = false;
|
||||||
bool supports_fixed_block_size = false;
|
bool supports_fixed_block_size = false;
|
||||||
|
|
@ -326,7 +326,7 @@ activate(LV2_Handle instance)
|
||||||
self->synth = sfizz_create_synth();
|
self->synth = sfizz_create_synth();
|
||||||
sfizz_set_samples_per_block(self->synth, self->max_block_size);
|
sfizz_set_samples_per_block(self->synth, self->max_block_size);
|
||||||
sfizz_set_sample_rate(self->synth, self->sample_rate);
|
sfizz_set_sample_rate(self->synth, self->sample_rate);
|
||||||
if (self->sfz_file_path && strlen(self->sfz_file_path) > 0)
|
if (strlen(self->sfz_file_path) > 0)
|
||||||
{
|
{
|
||||||
lv2_log_note(&self->logger, "Current file is: %s\n", self->sfz_file_path);
|
lv2_log_note(&self->logger, "Current file is: %s\n", self->sfz_file_path);
|
||||||
sfizz_load_file(self->synth, self->sfz_file_path);
|
sfizz_load_file(self->synth, self->sfz_file_path);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue