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:
715273d
)
#xxxxx WASAPI共有時に更新間隔を既定の最小値より小さく設定してしまう場合がある問題を修正。
author
yyagi
<yyagi.dtxmania@gmail.com>
Thu, 7 Feb 2019 15:39:19 +0000
(
00:39
+0900)
committer
yyagi
<yyagi.dtxmania@gmail.com>
Thu, 7 Feb 2019 15:39:19 +0000
(
00:39
+0900)
FDK/コード/03.サウンド/CSoundDeviceWASAPI.cs
patch
|
blob
|
history
diff --git
a/FDK/コード/03.サウンド/CSoundDeviceWASAPI.cs
b/FDK/コード/03.サウンド/CSoundDeviceWASAPI.cs
index
f273f83
..
2762e27
100644
(file)
--- a/
FDK/コード/03.サウンド/CSoundDeviceWASAPI.cs
+++ b/
FDK/コード/03.サウンド/CSoundDeviceWASAPI.cs
@@
-348,6
+348,10
@@
Trace.TraceInformation("WASAPI Device #{0}: {1}: IsDefault={2}, defPeriod={3}s,
else
{
f更新間隔sec = n希望バッファサイズms / 1000.0f;
+ if (f更新間隔sec < deviceInfo.minperiod)
+ {
+ f更新間隔sec = deviceInfo.minperiod;
+ }
}
f希望バッファサイズsec = 0.0f;
}