aboutsummaryrefslogtreecommitdiffstats
path: root/src/portaudio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/portaudio.c')
-rw-r--r--src/portaudio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/portaudio.c b/src/portaudio.c
index 540e138..e4a8f1a 100644
--- a/src/portaudio.c
+++ b/src/portaudio.c
@@ -185,9 +185,9 @@ jalv_backend_open(Jalv* jalv)
}
// Set audio parameters
- jalv->sample_rate = in_dev->defaultSampleRate;
- // jalv->block_length = FIXME
- jalv->midi_buf_size = 4096;
+ jalv->settings.sample_rate = in_dev->defaultSampleRate;
+ // jalv->settings.block_length = FIXME
+ jalv->settings.midi_buf_size = 4096;
jalv->backend->stream = stream;
return 0;