mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Cont'd work on ALSA nperiods (amend 2326fb163)
This commit is contained in:
parent
11ec81f4c2
commit
27f26f5cfd
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ int Alsa_pcmi::pcm_start (void)
|
||||||
if (_play_handle)
|
if (_play_handle)
|
||||||
{
|
{
|
||||||
n = snd_pcm_avail_update (_play_handle);
|
n = snd_pcm_avail_update (_play_handle);
|
||||||
if (n != _fsize * _play_nfrag)
|
if (n < _fsize * _play_nfrag)
|
||||||
{
|
{
|
||||||
if (_debug & DEBUG_STAT) fprintf (stderr, "Alsa_pcmi: full buffer not available at start.\n");
|
if (_debug & DEBUG_STAT) fprintf (stderr, "Alsa_pcmi: full buffer not available at start.\n");
|
||||||
return -1;
|
return -1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue