summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/pcmbuf.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c
index 8c1ca06c2b..6e2c51c80a 100644
--- a/apps/pcmbuf.c
+++ b/apps/pcmbuf.c
@@ -1394,9 +1394,14 @@ bool pcmbuf_is_lowdata(void)
1394{ 1394{
1395 enum channel_status status = mixer_channel_status(PCM_MIXER_CHAN_PLAYBACK); 1395 enum channel_status status = mixer_channel_status(PCM_MIXER_CHAN_PLAYBACK);
1396 1396
1397 if (status != CHANNEL_PLAYING || crossfade_status != CROSSFADE_INACTIVE) 1397 if (status != CHANNEL_PLAYING)
1398 return false; 1398 return false;
1399 1399
1400#ifdef HAVE_CROSSFADE
1401 if (crossfade_status != CROSSFADE_INACTIVE)
1402 return false;
1403#endif
1404
1400 return pcmbuf_data_critical(); 1405 return pcmbuf_data_critical();
1401} 1406}
1402 1407