OSDN Git Service
(root)
/
dtxmania
/
dtxmania.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15ed366
)
#39474 Cogg内のreadBufferのサイズを修正。(ちょっと大きすぎでした)
author
yyagi
<yyagi.dtxmania@gmail.com>
Mon, 19 Aug 2019 14:19:36 +0000
(23:19 +0900)
committer
yyagi
<yyagi.dtxmania@gmail.com>
Mon, 19 Aug 2019 14:19:36 +0000
(23:19 +0900)
FDK/コード/03.サウンド/Cogg.cs
patch
|
blob
|
history
diff --git
a/FDK/コード/03.サウンド/Cogg.cs
b/FDK/コード/03.サウンド/Cogg.cs
index
a958d35
..
b03b2e8
100644
(file)
--- a/
FDK/コード/03.サウンド/Cogg.cs
+++ b/
FDK/コード/03.サウンド/Cogg.cs
@@
-68,7
+68,7
@@
namespace FDK
#region [ decode ]
// create a buffer for reading samples
- var readBuffer = new float[
wfx.nAvgBytesPerSec
* 5]; // 5sec buffer
+ var readBuffer = new float[
vorbis.Channels * vorbis.SampleRate
* 5]; // 5sec buffer
// go grab samples
int cnt;