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