From: <pst...@us...> - 2010-07-18 22:04:06
|
Revision: 822 http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=822&view=rev Author: pstieber Date: 2010-07-18 22:04:00 +0000 (Sun, 18 Jul 2010) Log Message: ----------- Added a call to load a wave file for the selected sample. Modified Paths: -------------- trunk/jazz/src/Dialogs/SamplesDialog.cpp Modified: trunk/jazz/src/Dialogs/SamplesDialog.cpp =================================================================== --- trunk/jazz/src/Dialogs/SamplesDialog.cpp 2010-07-18 22:02:48 UTC (rev 821) +++ trunk/jazz/src/Dialogs/SamplesDialog.cpp 2010-07-18 22:04:00 UTC (rev 822) @@ -208,6 +208,7 @@ { wxFileName FileName = FileOpenDialog.GetPath(); mSampleSet[Selection].SetFileName(FileName.GetFullPath()); + mSampleSet[Selection].LoadWav(); mpFileNameEdit->ChangeValue(FileName.GetFullPath()); mpLabelEdit->ChangeValue(FileName.GetName()); wxString Label; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |