diff --git a/test/test_audio.cpp b/test/test_audio.cpp index e2c72dd..1bd18b3 100644 --- a/test/test_audio.cpp +++ b/test/test_audio.cpp @@ -161,7 +161,7 @@ int run_test(int num_channels, int sampling_rate, int is_float) } r = cubeb_stream_init(ctx, &stream, "test tone", NULL, NULL, NULL, ¶ms, - 100, is_float ? data_cb_float : data_cb_short, state_cb, synth); + 4096, is_float ? data_cb_float : data_cb_short, state_cb, synth); if (r != CUBEB_OK) { fprintf(stderr, "Error initializing cubeb stream: %d\n", r); goto cleanup; diff --git a/test/test_record.cpp b/test/test_record.cpp index 1d27eef..5dbfb61 100644 --- a/test/test_record.cpp +++ b/test/test_record.cpp @@ -106,7 +106,7 @@ int main(int argc, char *argv[]) params.channels = 1; r = cubeb_stream_init(ctx, &stream, "Cubeb record (mono)", NULL, ¶ms, NULL, nullptr, - 250, data_cb, state_cb, &stream_state); + 4096, data_cb, state_cb, &stream_state); if (r != CUBEB_OK) { fprintf(stderr, "Error initializing cubeb stream\n"); return r; diff --git a/test/test_tone.cpp b/test/test_tone.cpp index 82bcb80..ae5ac80 100644 --- a/test/test_tone.cpp +++ b/test/test_tone.cpp @@ -128,7 +128,7 @@ int main(int argc, char *argv[]) user_data->position = 0; r = cubeb_stream_init(ctx, &stream, "Cubeb tone (mono)", NULL, NULL, NULL, ¶ms, - 250, data_cb, state_cb, user_data); + 4096, data_cb, state_cb, user_data); if (r != CUBEB_OK) { fprintf(stderr, "Error initializing cubeb stream\n"); return r;