aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/voc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/voc.h b/sound/voc.h
index aa45880004..285611459c 100644
--- a/sound/voc.h
+++ b/sound/voc.h
@@ -52,11 +52,11 @@ struct VocBlockHeader {
static inline int getSampleRateFromVOCRate(int vocSR) {
if (vocSR == 0xa6) {
return 11025;
- } else if (vocSR == 0xd2) {
+ } else if (vocSR == 0xd2 || vocSR == 0xd3) {
return 22050;
} else {
int sr = 1000000L / (256L - vocSR);
- warning("inexact sample rate used: %i", sr);
+ warning("inexact sample rate used: %i (0x%x)", sr, vocSR);
return sr;
}
}