summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-12-02 23:30:10 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-12-02 23:30:10 +0000
commit0e97b1a1ebf205f33e80266f06d75bf71aa73de7 (patch)
tree497aba4ce7b214be57c086e363dc6054e541693c /apps
parent3e166f6101bfdbf29c43ecbf5076358ae41d94e6 (diff)
downloadrockbox-0e97b1a1ebf205f33e80266f06d75bf71aa73de7.tar.gz
rockbox-0e97b1a1ebf205f33e80266f06d75bf71aa73de7.tar.bz2
rockbox-0e97b1a1ebf205f33e80266f06d75bf71aa73de7.zip
Fix FS#9507 - video audio is not played if song is paused. Audio was not being unmuted by playback.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19308 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/pcmbuf.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c
index 7723b70876..a25723a299 100644
--- a/apps/pcmbuf.c
+++ b/apps/pcmbuf.c
@@ -40,12 +40,6 @@
#include "dsp.h"
#include "thread.h"
-/* Define PCMBUF_MUTING if the codec requires muting to prevent pops */
-#if !defined(HAVE_UDA1380) && !defined(HAVE_TLV320) && !defined(HAVE_AS3514) \
- && !defined(HAVE_WM8978)
-#define PCMBUF_MUTING
-#endif
-
/* Clip sample to signed 16 bit range */
static inline int32_t clip_sample_16(int32_t sample)
{
@@ -493,21 +487,10 @@ unsigned char * pcmbuf_get_meminfo(size_t *length)
void pcmbuf_pause(bool pause)
{
-#ifdef PCMBUF_MUTING
- if (pause)
- pcm_mute(true);
-#endif
-
if (pcm_is_playing())
pcm_play_pause(!pause);
else if (!pause)
pcmbuf_play_start();
-
-#ifdef PCMBUF_MUTING
- if (!pause)
- pcm_mute(false);
-#endif
- trigger_cpu_boost();
}
/* Force playback. */