Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
Fixed mistake. Removed message box indicating successful file load.
Browse files Browse the repository at this point in the history
  • Loading branch information
adct-the-experimenter committed Jan 1, 2021
1 parent 9dca18a commit ef542d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
9 changes: 2 additions & 7 deletions src/osgViewerWX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ MainFrame::MainFrame(wxFrame *frame, const wxString& title, const wxPoint& pos,
0, wxEmptyString);

//if using MS Windows OS
#ifdef _WIN32
#ifdef WIN32
toolbar->AddTool(toolbar->AddControl( sp_toolbar_text ) );

toolbar->AddTool( toolbar->AddControl(m_sp_toolbar_combobox, wxEmptyString) );
Expand All @@ -540,7 +540,7 @@ MainFrame::MainFrame(wxFrame *frame, const wxString& title, const wxPoint& pos,
#endif

//if not using MS Windows OS
#ifndef _WIN32
#ifndef WIN32
toolbar->AddControl( sp_toolbar_text );
toolbar->AddControl(m_sp_toolbar_combobox);
#endif
Expand Down Expand Up @@ -830,11 +830,6 @@ void MainFrame::LoadProject()

m_soundproducer_track_vec.at(i)->LoadSoundProducerTrackSaveData(ptrSPTracksSaveDataVec.at(i));

if(ptrSPTracksSaveDataVec.at(i).soundfilepath != "")
{
m_soundproducer_track_vec.at(i)->GetReferenceToStereoAudioTrack()->LoadAudioFromFileToTrack(ptrSPTracksSaveDataVec.at(i).soundfilepath);
}


if(ptrSPTracksSaveDataVec.at(i).soundproducer_name != "")
{
Expand Down
8 changes: 4 additions & 4 deletions src/timeline-track-editor/src/audio-track.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ void AudioTrack::ReadAndCopyDataFromInputFile(std::vector<double> *audio_data_in
/* Close input and stream files. */
sf_close(inputFile);

std::string messageString;
messageString.append("Successfully loaded and saved a copy of audio data of");
messageString.append(inputSoundFilePath);
wxMessageBox( messageString );
//std::string messageString;
//messageString.append("Successfully loaded and saved a copy of audio data of");
//messageString.append(inputSoundFilePath);
//wxMessageBox( messageString );
}

void AudioTrack::CopyInputDataIntoAudioDataStream(std::vector<double> *audio_data_input_copy_ptr, AudioStreamContainer* audio_data_stream_ptr,std::string streamSoundFilePath,SF_INFO& input_sfinfo)
Expand Down

0 comments on commit ef542d6

Please sign in to comment.