Vadim Zeitlin
e62e216806
Allow selecting any kind of file in the sound sample.
...
This is especially useful under Mac where wxSound can play files other than
.wav too (e.g. .aiff files which can be found under /System/Library/Sounds).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-01-03 14:58:26 +00:00
Vadim Zeitlin
5276b0a53c
Use wxDELETE() and wxDELETEA() when possible.
...
Use wxDELETE[A]() functions which automatically NULL out their arguments after
deleting them instead of doing it manually.
Closes #9685 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-20 18:18:23 +00:00
Vadim Zeitlin
9a83f86094
Globally replace _T() with wxT().
...
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +00:00
Francesco Montorsi
c8551c294d
add the ability to test the wxBell() function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 14:04:46 +00:00
Kevin Ollivier
e2c33b5595
Only MSW supports loading sounds from data.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-13 21:02:13 +00:00
Vadim Zeitlin
45e6e6f8ab
call OnInit() from all samples to allow using standard command line options with all of them (patch 1623971)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 00:34:18 +00:00
Vadim Zeitlin
ff3e84ffdc
File/dir dialog styles and other changes (patch 1488371):
...
- check invalid combinations of styles in wxFileDialogBase::Create()
- use wxFD_XXX naming convention for wxFileDialog styles
- replaces wxDD_NEW_DIR_BUTTON with wxDD_DIR_MUST_EXIST
- removes #ifdef __WXGTK24__ / #endif blocks from wxGTK code
- removes wxFileDialogBase::Get/SetStyle and wxFileDialogBase::m_fileName
- renames wxDirDialogGTK to wxDirDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:32:12 +00:00
Włodzimierz Skiba
71307412f5
Missing wxUSE_... flags and source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-24 17:47:11 +00:00
Vadim Zeitlin
0591bcfdfa
added test for playing sound from memory
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 13:59:35 +00:00
Vadim Zeitlin
cb51c9902f
added Stop test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 13:43:55 +00:00
Vadim Zeitlin
247ec3f4cc
fixed id values to be more standard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 12:48:06 +00:00
Vadim Zeitlin
941821d8ac
added test for playing Windows resources
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 12:35:10 +00:00
David Elliott
b320510f98
Added some accelerators to the menu to help with stress testing wxSound:
...
Ctrl+O Select WAV file
Ctrl+S "Play sound synchronously"
Ctrl+A "Play sound asynchronously"
Ctrl+T "Play sound asynchronously (object on stack)" (T for temporary)
Ctrl+L "Loop sound"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 19:24:14 +00:00
Robin Dunn
27c2041ff6
Actually use the OnStack test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 00:43:58 +00:00
Włodzimierz Skiba
fc57ba5476
Unhide problem of ambiguity in wxSoundBase::Play.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-26 08:47:53 +00:00
Włodzimierz Skiba
7981fe9b2b
-1->wxID_ANY, ambiguity of types.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 19:35:38 +00:00
Julian Smart
be5a51fb59
More name changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 11:20:37 +00:00
Václav Slavík
86c5779a6f
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-18 17:24:06 +00:00
Robin Dunn
aa92c39880
Changed the sound sample to allow the user to choose a wav file to
...
work with, and also added some additional test wav files of various
sampling rates, sample sizes and channels.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-11 19:31:33 +00:00
Mattia Barbon
e4f3eb42f2
Compilation fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 15:21:11 +00:00
Václav Slavík
d93966b92a
renamed wxWave to wxSound
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 13:03:23 +00:00
Václav Slavík
0d9c603db6
added wxWave sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-01 10:53:59 +00:00