Skip to content

Commit

Permalink
Emulator audio sample rate
Browse files Browse the repository at this point in the history
  • Loading branch information
visrealm committed Aug 27, 2023
1 parent 963520e commit c7ee38d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified emulator/bin/Hbc56Emu.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion emulator/src/audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void hbc56Audio(int start)
want.freq = HBC56_AUDIO_FREQ;
want.format = AUDIO_F32SYS;
want.channels = 2;
want.samples = 256;
want.samples = 1024;
want.callback = hbc56AudioCallback;
if (SDL_OpenAudio(&want, &audioSpec) == 0) audioDevice = 1;

Expand Down
2 changes: 1 addition & 1 deletion emulator/src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#define HBC56_HAVE_THREADS 0

#define HBC56_CLOCK_FREQ 3686400 /* half of 7.3728 */
#define HBC56_AUDIO_FREQ 24000
#define HBC56_AUDIO_FREQ 48000
#define HBC56_MAX_DEVICES 16

/* memory map configuration values
Expand Down

0 comments on commit c7ee38d

Please sign in to comment.