From 8bb4681578979325e0dc2be7a7a6c95dd5a403d3 Mon Sep 17 00:00:00 2001 From: "bernet.andre@gmail.com" Date: Tue, 26 Feb 2013 17:45:50 +0000 Subject: [PATCH] [X9D] Finer volume steps on the low end for use with headphones --- src/x9d/audio_driver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x9d/audio_driver.h b/src/x9d/audio_driver.h index 8e27a7619..b9638016a 100644 --- a/src/x9d/audio_driver.h +++ b/src/x9d/audio_driver.h @@ -89,7 +89,7 @@ inline uint16_t dacQueue(uint16_t *data, uint16_t size) #define VOLUME_LEVEL_DEF 12 static const int8_t volumeScale[VOLUME_LEVEL_MAX+1] = { - 0, 2, 4, 6, 8, 10, 13, 17, 22, 27, 33, 40, + 0, 1, 2, 3, 5, 9, 13, 17, 22, 27, 33, 40, 64, 82, 96, 105, 112, 117, 120, 122, 124, 125, 126, 127 } ;