X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fbenchmark_audio_mixer.cpp;h=edb4955335f30ec7b734a32a27a88ff19a94b1cc;hb=5982dac8e7df84c42f9a42c228e003c60f837f21;hp=7ec3450dc60d942d617cbfeff0210f58a9b4ddc5;hpb=c290898058c364494fa74398c70566f3bff1ae4c;p=nageru diff --git a/nageru/benchmark_audio_mixer.cpp b/nageru/benchmark_audio_mixer.cpp index 7ec3450..edb4955 100644 --- a/nageru/benchmark_audio_mixer.cpp +++ b/nageru/benchmark_audio_mixer.cpp @@ -73,7 +73,7 @@ vector process_frame(unsigned frame_num, AudioMixer *mixer) unsigned num_samples = NUM_SAMPLES + (lcgrand() % 9) - 5; bool ok = mixer->add_audio(DeviceSpec{InputSourceType::CAPTURE_CARD, card_index}, card_index == 3 ? samples24 : samples16, num_samples, audio_format, - NUM_SAMPLES * TIMEBASE / OUTPUT_FREQUENCY, ts); + ts); assert(ok); }