summaryrefslogtreecommitdiffstats
path: root/apps/pcmbuf.c
diff options
context:
space:
mode:
authorJeffrey Goode <jeffg7@gmail.com>2009-11-16 20:09:46 +0000
committerJeffrey Goode <jeffg7@gmail.com>2009-11-16 20:09:46 +0000
commitdb82be4390d294c8d460f50c06add41ffa6686f5 (patch)
tree070f9e3df3841eaabf2b81b774eae07f773329bc /apps/pcmbuf.c
parent0d93a00e37b5f0c5e2977d77393c88d8baf58f38 (diff)
downloadrockbox-db82be4390d294c8d460f50c06add41ffa6686f5.tar.gz
rockbox-db82be4390d294c8d460f50c06add41ffa6686f5.tar.bz2
rockbox-db82be4390d294c8d460f50c06add41ffa6686f5.zip
Cleanup audio.h, related functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23651 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/pcmbuf.c')
-rw-r--r--apps/pcmbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c
index 7d5d71413b..a75c110694 100644
--- a/apps/pcmbuf.c
+++ b/apps/pcmbuf.c
@@ -1196,7 +1196,7 @@ void pcmbuf_beep(unsigned int frequency, size_t duration, int amplitude)
bufstart = minibuf;
bufend = SKIPBYTES(bufstart, MINIBUF_SIZE);
}
- else if (audio_buffer_state() != AUDIOBUF_STATE_TRASHED)
+ else if (!audio_buffer_state_trashed())
{
/* Use pcmbuffer */
bufstart = (int16_t *)pcmbuffer;