mirror of https://github.com/adamdruppe/arsd.git
64 bit windows fixes
This commit is contained in:
parent
b351656398
commit
47e093c030
|
@ -640,7 +640,7 @@ struct AudioOutput {
|
||||||
// since this is wave out, it promises not to write...
|
// since this is wave out, it promises not to write...
|
||||||
auto buffer = buffers[i][];
|
auto buffer = buffers[i][];
|
||||||
header.lpData = cast(void*) buffer.ptr;
|
header.lpData = cast(void*) buffer.ptr;
|
||||||
header.dwBufferLength = buffer.length * short.sizeof;
|
header.dwBufferLength = cast(int) buffer.length * cast(int) short.sizeof;
|
||||||
header.dwFlags = WHDR_BEGINLOOP | WHDR_ENDLOOP;
|
header.dwFlags = WHDR_BEGINLOOP | WHDR_ENDLOOP;
|
||||||
header.dwLoops = 1;
|
header.dwLoops = 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue