mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-28 14:20:01 +03:00
new dmd compat
This commit is contained in:
parent
cdeca0a686
commit
3cc5028486
1 changed files with 4 additions and 1 deletions
|
@ -1777,6 +1777,9 @@ final class AudioPcmOutThreadImplementation : Thread {
|
||||||
public void unsuspend() {
|
public void unsuspend() {
|
||||||
suspended_ = false;
|
suspended_ = false;
|
||||||
suspendWanted = false;
|
suspendWanted = false;
|
||||||
|
static if(__traits(hasMember, event, "setIfInitialized"))
|
||||||
|
event.setIfInitialized();
|
||||||
|
else
|
||||||
event.set();
|
event.set();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue