Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Removed commented out code from contacteditor/frmContactEditor-Sound.cpp
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 13 Mar 2016 11:27:26 +0000 (11:27 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 13 Mar 2016 11:27:26 +0000 (11:27 +0000)
source/contacteditor/frmContactEditor-Sound.cpp

index 45305b5..cda5036 100644 (file)
@@ -122,16 +122,9 @@ void frmContactEditor::PlaySoundDetach()
        }
     
        btnStop->Enable();
-    
-       //AudioStreamPlayback.setbuffer(AudioBuffer);
+
        AudioStreamPlayback.play();
     
-       /*timespec n1, n2;
-     
-       n1.tv_sec = 0;
-       n1.tv_nsec = 100000000L;*/
-    
-       //while (TimeA != TimeB){
        while (AudioStreamPlayback.getStatus() == sf::SoundSource::Playing){
         
                // We poll this every 100ms in order to conserve CPU usage.
@@ -148,24 +141,6 @@ void frmContactEditor::PlaySound( wxCommandEvent& event )
 {
     
        // Play the sound.
-       
-       //sf::Music *AudioPlayback = new sf::Music;
-       //AudioStream *AudioStreamPlayback = new AudioStream;
-       //sf::SoundBuffer *AudioBuffer = new sf::SoundBuffer;
-    
-       //sf::Sound *AudioPlayback = new sf::Sound;
-    
-       //delete(AudioPlayback);
-    
-       //delete(AudioPlayback);
-       //delete(AudioStreamPlayback);
-       //delete(AudioBuffer);
-    
-       //AudioPlayback = NULL;
-       //AudioStreamPlayback = NULL;
-       //AudioBuffer = NULL;
-    
-       //return;
     
        long longSelected = -1;
        int intSelectedData = 0;
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy