Skip to content

Commit

Permalink
fix linux audio init
Browse files Browse the repository at this point in the history
  • Loading branch information
xianjimli committed Feb 5, 2025
1 parent 41e6b56 commit aabdf10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 3rd/SDL/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ elif OS_NAME == 'Linux':
Glob('src/core/unix/*.c')+\
Glob('src/main/dummy/*.c')

SDL_FLAGS += ' -DSDL_TIMER_UNIX -DSDL_AUDIO_DRIVER_SNDIO -DSDL_LOADSO_DLOPEN '
SDL_FLAGS += ' -DSDL_TIMER_UNIX -DSDL_AUDIO_DRIVER_ALSA -DSDL_LOADSO_DLOPEN '
SDL_FLAGS += ' -DSDL_VIDEO_OPENGL_EGL -DSDL_VIDEO_OPENGL_ES2 '

SDL_VIDEODRIVER=os.getenv('SDL_VIDEODRIVER');
Expand Down
3 changes: 3 additions & 0 deletions docs/changes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# 最新动态

2025/02/05
* 修复Linux音频初始化失败的问题(感谢朝泽发现问题)

2025/01/30
* 修复matrix变换顺序后gauge指针旋转不正常(感谢兆坤提供补丁)

Expand Down

0 comments on commit aabdf10

Please sign in to comment.