Skip to content

Commit

Permalink
Fix speed audio (44kHz)
Browse files Browse the repository at this point in the history
  • Loading branch information
Franck ALARY committed Nov 10, 2023
1 parent e2d5d3d commit 2e06cb6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
###########################################################

TARGET=Telmi Story Teller
VERSION=0.2.0
VERSION=0.2.1

###########################################################

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/storyTeller/sdl_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 2e06cb6

Please sign in to comment.