Skip to content

Commit

Permalink
Merge pull request #21 from Thelamer-Fork1/chrome-safari-audio-fix
Browse files Browse the repository at this point in the history
fix chrome and safari audio bug
  • Loading branch information
ethanaobrien authored Jan 16, 2024
2 parents d5948d5 + cd7365c commit 00f4e2e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config.def.h
Original file line number Diff line number Diff line change
Expand Up @@ -1101,6 +1101,9 @@
#elif defined(_3DS) || defined(RETROFW)
#define DEFAULT_OUTPUT_RATE 32730
#define DEFAULT_INPUT_RATE 32730
#elif defined(EMSCRIPTEN)
#define DEFAULT_OUTPUT_RATE 44100
#define DEFAULT_INPUT_RATE 44100
#else
#define DEFAULT_OUTPUT_RATE 48000
#define DEFAULT_INPUT_RATE 48000
Expand Down Expand Up @@ -1607,7 +1610,7 @@

#if defined(__QNX__) || defined(_XBOX1) || defined(_XBOX360) || (defined(__MACH__) && defined(IOS)) || defined(ANDROID) || defined(WIIU) || defined(HAVE_NEON) || defined(GEKKO) || defined(__ARM_NEON__) || defined(__PS3__)
#define DEFAULT_AUDIO_RESAMPLER_QUALITY_LEVEL RESAMPLER_QUALITY_LOWER
#elif defined(PSP) || defined(_3DS) || defined(VITA) || defined(PS2) || defined(DINGUX)
#elif defined(PSP) || defined(_3DS) || defined(VITA) || defined(PS2) || defined(DINGUX) || defined(EMSCRIPTEN)
#define DEFAULT_AUDIO_RESAMPLER_QUALITY_LEVEL RESAMPLER_QUALITY_LOWEST
#else
#define DEFAULT_AUDIO_RESAMPLER_QUALITY_LEVEL RESAMPLER_QUALITY_NORMAL
Expand Down

0 comments on commit 00f4e2e

Please sign in to comment.