summaryrefslogtreecommitdiffstats
path: root/firmware/pcm_record.c
diff options
context:
space:
mode:
authorMartin Scarratt <mmmm@rockbox.org>2006-09-02 17:30:30 +0000
committerMartin Scarratt <mmmm@rockbox.org>2006-09-02 17:30:30 +0000
commit617b67e769661d4841b4fd1ace358b932f9c0378 (patch)
tree22a1b0dddc51ac890b2804ce100df30d10f271ea /firmware/pcm_record.c
parentee88a3bb2c137078c4e1d3285e1d7c5b5ff61572 (diff)
downloadrockbox-617b67e769661d4841b4fd1ace358b932f9c0378.tar.gz
rockbox-617b67e769661d4841b4fd1ace358b932f9c0378.zip
Display bitrate (Q value for Archos), samplerate, channels and recording format (M = MP3) in the statusbar in the recording screen. This is all new info for archos targets and I-river targets now have this info on the remote as well as the main screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10856 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/pcm_record.c')
-rw-r--r--firmware/pcm_record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/pcm_record.c b/firmware/pcm_record.c
index 4e4d5f25a0..68fc22b937 100644
--- a/firmware/pcm_record.c
+++ b/firmware/pcm_record.c
@@ -289,7 +289,7 @@ unsigned long audio_get_spdif_sample_rate(void)
if (diff2 > diff1) --i;
}
- return spdif_sample_rates[i];
+ return i;
}
#endif