This website works better with JavaScript.
首頁
探索
說明
登入
Archivist
/
raylib-src
镜像来自
https://github.com/raysan5/raylib
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
24
Wiki
Activity
瀏覽代碼
Stop sound source before unloading
pull/218/head
Ray San
8 年之前
父節點
46f95a730a
當前提交
fc7d4cef18
共有
1 個文件被更改
,包括
2 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/audio.c
+ 2
- 0
src/audio.c
查看文件
@ -353,6 +353,8 @@ void UnloadWave(Wave wave)
/
/
Unload
sound
void
UnloadSound
(
Sound
sound
)
{
alSourceStop
(
sound
.
source
)
;
alDeleteSources
(
1
,
&
sound
.
source
)
;
alDeleteBuffers
(
1
,
&
sound
.
buffer
)
;
Write
Preview
Loading…
取消
儲存