]> git.saurik.com Git - wxWidgets.git/commitdiff
Rename wave file to be less agressive, for later replacement
authorJulian Smart <julian@anthemion.co.uk>
Mon, 28 Mar 2005 13:43:20 +0000 (13:43 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 28 Mar 2005 13:43:20 +0000 (13:43 +0000)
with arbitrary sound

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/joytest/buttonpress.wav [new file with mode: 0644]
samples/joytest/gun.wav [deleted file]
samples/joytest/joytest.cpp

diff --git a/samples/joytest/buttonpress.wav b/samples/joytest/buttonpress.wav
new file mode 100644 (file)
index 0000000..8cb037d
Binary files /dev/null and b/samples/joytest/buttonpress.wav differ
diff --git a/samples/joytest/gun.wav b/samples/joytest/gun.wav
deleted file mode 100644 (file)
index 8cb037d..0000000
Binary files a/samples/joytest/gun.wav and /dev/null differ
index 403ea91a8eaa7b902947e1ddc406195897ab911f..0366659659d180520930305c063d7b06aeffc74e 100644 (file)
@@ -51,7 +51,7 @@ bool MyApp::OnInit()
     }
 
 #if wxUSE_SOUND
-    m_fire.Create(_T("gun.wav"));
+    m_fire.Create(_T("buttonpress.wav"));
 #endif // wxUSE_SOUND
 
     m_minX = stick.GetXMin();
@@ -162,11 +162,11 @@ void MyCanvas::OnJoystickEvent(wxJoystickEvent& event)
 /*
     for(int i = 0; i < nButtons; ++i)
     {
-        buf += wxString(wxT("[")) + 
+        buf += wxString(wxT("[")) +
         ((event.GetButtonState() & (1 << i)) ? wxT("Y") : wxT("N")) + wxString(wxT("]"));
     }
 */
-    
+
     frame->SetStatusText(buf);
 #endif // wxUSE_STATUSBAR