if (snd_pcm_nonblock(pad->handle, 1))
PARA_ERROR_LOG("failed to set nonblock mode\n");
return period_size * pad->bytes_per_frame;
if (snd_pcm_nonblock(pad->handle, 1))
PARA_ERROR_LOG("failed to set nonblock mode\n");
return period_size * pad->bytes_per_frame;
PARA_INFO_LOG("options: %s, %zd\n", options, strcspn(options, " \t"));
PARA_INFO_LOG("options: %s, %zd\n", options, strcspn(options, " \t"));