- removed csfml-system dependency!
use phobos functionality for that git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1438 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
b4189fd660
commit
d60a7be49a
8 changed files with 9 additions and 406 deletions
|
@ -30,12 +30,12 @@ import dsfml.audio.soundbuffer;
|
|||
|
||||
import dsfml.system.alloc;
|
||||
import dsfml.system.common;
|
||||
import dsfml.system.sleep;
|
||||
|
||||
import dsfml.system.linkedlist;
|
||||
import dsfml.system.mutex;
|
||||
import dsfml.system.lock;
|
||||
//import dsfml.system.thread;
|
||||
|
||||
import core.thread;
|
||||
import core.sync.mutex;
|
||||
|
||||
/**
|
||||
* SoundRecorder is an interface for capturing sound data.
|
||||
|
@ -252,7 +252,7 @@ private:
|
|||
{
|
||||
while (m_flag)
|
||||
{
|
||||
sleep(0.05f);
|
||||
Thread.sleep(50_000_0); // 50ms
|
||||
// if samples are available
|
||||
if (!m_list.empty)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue