{output,mixer}/alsa: use snd_pcm_poll_descriptors_revents()
This call was missing, causing very high CPU usage when the ALSA output plugin was used with dmix. Closes #391
This commit is contained in:
@@ -889,6 +889,8 @@ AlsaOutput::PrepareSockets() noexcept
|
||||
void
|
||||
AlsaOutput::DispatchSockets() noexcept
|
||||
try {
|
||||
non_block.DispatchSockets(*this, pcm);
|
||||
|
||||
{
|
||||
const std::lock_guard<Mutex> lock(mutex);
|
||||
|
||||
|
Reference in New Issue
Block a user