Restore functionality of pcmbuf_is_lowdata. It fell out of sync since the mixer code and then an incorrect change unintentionally remained in r30366.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30369 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cc6a780a13
commit
31567306e7
1 changed files with 3 additions and 1 deletions
|
@ -1283,7 +1283,9 @@ void pcmbuf_soft_mode(bool shhh)
|
||||||
|
|
||||||
bool pcmbuf_is_lowdata(void)
|
bool pcmbuf_is_lowdata(void)
|
||||||
{
|
{
|
||||||
if (!audio_pcmbuf_may_play() || pcmbuf_is_crossfade_active())
|
enum channel_status status = mixer_channel_status(PCM_MIXER_CHAN_PLAYBACK);
|
||||||
|
|
||||||
|
if (status != CHANNEL_PLAYING || pcmbuf_is_crossfade_active())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
#if MEMORYSIZE > 2
|
#if MEMORYSIZE > 2
|
||||||
|
|
Loading…
Reference in a new issue