Make LFO controller accept custom waveforms

This commit is contained in:
Wong Cho Ching
2014-01-24 22:55:32 +08:00
parent 9435cfd8b8
commit c45aafc748
11 changed files with 147 additions and 70 deletions

View File

@@ -894,6 +894,23 @@ QString SampleBuffer::openAudioFile() const
}
QString SampleBuffer::openAndSetAudioFile()
{
QString fileName = this->openAudioFile();
if(!fileName.isEmpty())
{
this->setAudioFile( fileName );
}
return fileName;
}
#undef LMMS_HAVE_FLAC_STREAM_ENCODER_H /* not yet... */
#undef LMMS_HAVE_FLAC_STREAM_DECODER_H