From 2e06cb66d030aa5864da713e4d8449483cb2d05e Mon Sep 17 00:00:00 2001 From: Franck ALARY Date: Fri, 10 Nov 2023 06:25:10 +0100 Subject: [PATCH] Fix speed audio (44kHz) --- Makefile | 2 +- README.md | 4 ++-- src/storyTeller/sdl_helper.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index f89c136b56..b6a39c1d04 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ ########################################################### TARGET=Telmi Story Teller -VERSION=0.2.0 +VERSION=0.2.1 ########################################################### diff --git a/README.md b/README.md index 2d6e95f03e..b8826baa43 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,9 @@ The story teller is compatible with stories exported from STUdio (v1 format). ### Download the installation files -You need to install Telmi v0.2.0. +You need to install Telmi v0.2.1. -- [Download the latest version of Telmi](https://github.com/DantSu/Telmi-story-teller/releases/download/0.2.0/TelmiOS_v0.2.0.zip) +- [Download the latest version of Telmi](https://github.com/DantSu/Telmi-story-teller/releases/download/0.2.1/TelmiOS_v0.2.1.zip) ### Install or upgrade diff --git a/src/storyTeller/sdl_helper.h b/src/storyTeller/sdl_helper.h index e41bf7f12d..631f57deec 100644 --- a/src/storyTeller/sdl_helper.h +++ b/src/storyTeller/sdl_helper.h @@ -22,7 +22,7 @@ void video_audio_init(void) { SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO); TTF_Init(); - if(Mix_OpenAudio(48000, 32784, 2, 4096) < 0) { + if(Mix_OpenAudio(44000, 32784, 2, 2048) < 0) { Mix_Volume(-1, MIX_MAX_VOLUME); Mix_VolumeMusic(MIX_MAX_VOLUME); }