summaryrefslogtreecommitdiffstats
path: root/apps/pcmbuf.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2016-12-28 00:06:39 -0500
committerMichael Sevakis <jethead71@rockbox.org>2017-01-05 02:37:14 -0500
commit6c837394ca6d7a988bfbdc9e97630e69f0bc2025 (patch)
treeb079e9ed146f86c164b9fffe89ee8d24e6d4fd2e /apps/pcmbuf.h
parentdbee727664a69b82ce582e252501ec47e5533596 (diff)
downloadrockbox-6c837394ca6d7a988bfbdc9e97630e69f0bc2025.tar.gz
rockbox-6c837394ca6d7a988bfbdc9e97630e69f0bc2025.tar.bz2
rockbox-6c837394ca6d7a988bfbdc9e97630e69f0bc2025.zip
Playback: Fix problems with crossfade on short tracks.
Addresses issues brought up in this thread: http://forums.rockbox.org/index.php/topic,51605.0.html While we're at it, improve the quality with a sample-level fader. Change-Id: I73dde60d6858a1c9042812e26d490739e3906a1e
Diffstat (limited to 'apps/pcmbuf.h')
-rw-r--r--apps/pcmbuf.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/pcmbuf.h b/apps/pcmbuf.h
index 008872be59..e16f86174c 100644
--- a/apps/pcmbuf.h
+++ b/apps/pcmbuf.h
@@ -50,13 +50,10 @@ void pcmbuf_start_track_change(enum pcm_track_change_type type);
/* Crossfade */
#ifdef HAVE_CROSSFADE
-bool pcmbuf_is_crossfade_active(void);
void pcmbuf_request_crossfade_enable(int setting);
bool pcmbuf_is_same_size(void);
#else
/* Dummy functions with sensible returns */
-static FORCE_INLINE bool pcmbuf_is_crossfade_active(void)
- { return false; }
static FORCE_INLINE void pcmbuf_request_crossfade_enable(bool on_off)
{ return; (void)on_off; }
static FORCE_INLINE bool pcmbuf_is_same_size(void)