Closed engineeror closed 1 year ago
I don't think it's correct to call snd_pcm_drain() on in uninitialized PCM stream:
https://github.com/DeaDBeeF-Player/deadbeef/blob/master/plugins/alsa/alsa.c
It's an application bug. But yes - the error code should be returned instead crash.
period_size
is zero on USB DACs: https://bugs.archlinux.org/index.php?do=details&task_id=78476@perexg