diff options
author | David Robillard <d@drobilla.net> | 2024-11-21 14:08:02 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-11-24 19:11:44 -0500 |
commit | 2a5bc1ca7aee36cd763ac10c894b84eef347fe25 (patch) | |
tree | b145b86c8f98fb6d7adab34f69c1bcb0114e34fa /src/portaudio.c | |
parent | 724aab7a868ed0200afbeecf056e53b5ea16b23d (diff) | |
download | jalv-2a5bc1ca7aee36cd763ac10c894b84eef347fe25.tar.gz jalv-2a5bc1ca7aee36cd763ac10c894b84eef347fe25.tar.bz2 jalv-2a5bc1ca7aee36cd763ac10c894b84eef347fe25.zip |
Factor out "settings" that affect the execution process
Diffstat (limited to 'src/portaudio.c')
-rw-r--r-- | src/portaudio.c | 6 |
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; |