]> git.sesse.net Git - nageru/blobdiff - nageru/alsa_pool.cpp
Remove the unused frame_length parameter to AudioMixer::add_audio().
[nageru] / nageru / alsa_pool.cpp
index 3092dc32335551deed1b2b7b2255c07b7e9a19db..978f236886256e529e448c6dbcd37c53be951bfc 100644 (file)
@@ -402,7 +402,7 @@ void ALSAPool::reset_device(unsigned index)
                inputs[index].reset();
        } else {
                // TODO: Put on a background thread instead of locking?
-               auto callback = bind(&AudioMixer::add_audio, global_audio_mixer, DeviceSpec{InputSourceType::ALSA_INPUT, index}, _1, _2, _3, _4, _5);
+               auto callback = bind(&AudioMixer::add_audio, global_audio_mixer, DeviceSpec{InputSourceType::ALSA_INPUT, index}, _1, _2, _3, _4);
                inputs[index].reset(new ALSAInput(device->address.c_str(), OUTPUT_FREQUENCY, device->num_channels, callback, this, index));
                inputs[index]->start_capture_thread();
        }