This website works better with JavaScript.
首頁
探索
說明
登入
Archivist
/
raylib-src
镜像来自
https://github.com/raysan5/raylib
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
24
Wiki
Activity
瀏覽代碼
[raudio] Fix freeing the wrong memory (
#5481
)
pull/5482/head
Marcos Paccor
3 週之前
committed by
GitHub
父節點
0bcf79ce28
當前提交
16e6d325b9
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID:
B5690EEEBB952194
共有
1 個文件被更改
,包括
1 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/raudio.c
+ 1
- 1
src/raudio.c
查看文件
@ -1249,7 +1249,7 @@ void WaveFormat(Wave *wave, int sampleRate, int sampleSize, int channels)
frameCount
=
(
ma_uint32
)
ma_convert_frames
(
data
,
frameCount
,
formatOut
,
channels
,
sampleRate
,
wave
-
>
data
,
frameCountIn
,
formatIn
,
wave
-
>
channels
,
wave
-
>
sampleRate
)
;
if
(
frameCount
=
=
0
)
{
RL_FREE
(
wave
-
>
data
)
;
RL_FREE
(
data
)
;
TRACELOG
(
LOG_WARNING
,
"
WAVE: Failed format conversion
"
)
;
return
;
}
Write
Preview
Loading…
取消
儲存