summaryrefslogtreecommitdiffstats
path: root/apps/pcmbuf.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2012-02-20 00:47:21 -0500
committerMichael Sevakis <jethead71@rockbox.org>2012-02-20 00:47:21 -0500
commit5833cc181bfe5c70515617808b7ca38d42f685de (patch)
tree94beb5da8c9b9ba97815f79bde73d3210232f051 /apps/pcmbuf.c
parent9c3ce33d4e583139265e53fb6d0fa9955b8dbf93 (diff)
downloadrockbox-5833cc181bfe5c70515617808b7ca38d42f685de.tar.gz
rockbox-5833cc181bfe5c70515617808b7ca38d42f685de.tar.bz2
rockbox-5833cc181bfe5c70515617808b7ca38d42f685de.zip
pcmbuf minor cleaning
Group functions a bit better and expunge some obsolete function prototypes. Change-Id: Ifaf8a265dbe0a9f081e524b2e646e2dc50c6aa43
Diffstat (limited to 'apps/pcmbuf.c')
-rw-r--r--apps/pcmbuf.c30
1 files changed, 17 insertions, 13 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c
index aa30c64912..55a364b1be 100644
--- a/apps/pcmbuf.c
+++ b/apps/pcmbuf.c
@@ -1275,6 +1275,23 @@ void pcmbuf_soft_mode(bool shhh)
}
+/** Time and position */
+
+/* Return the current position key value */
+unsigned int pcmbuf_get_position_key(void)
+{
+ return position_key;
+}
+
+/* Set position updates to be synchronous and immediate in addition to during
+ PCM frames - cancelled upon first codec insert or upon stopping */
+void pcmbuf_sync_position_update(void)
+{
+ pcmbuf_sync_position = true;
+}
+
+
+
/** Misc */
bool pcmbuf_is_lowdata(void)
@@ -1291,16 +1308,3 @@ void pcmbuf_set_low_latency(bool state)
{
low_latency_mode = state;
}
-
-/* Return the current position key value */
-unsigned int pcmbuf_get_position_key(void)
-{
- return position_key;
-}
-
-/* Set position updates to be synchronous and immediate in addition to during
- PCM frames - cancelled upon first codec insert or upon stopping */
-void pcmbuf_sync_position_update(void)
-{
- pcmbuf_sync_position = true;
-}