try all audio-drivers at startup even if dummy-driver is selected

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1055 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-06-02 20:48:56 +00:00
parent 880a7c2bdf
commit c4043b20c7
2 changed files with 12 additions and 0 deletions

View File

@@ -7,6 +7,13 @@
2008-06-02 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* src/core/mixer.cpp:
try all audio-drivers at startup even if dummy-driver is selected
* configure.in:
* Makefile.am:
properly link against win32-libsndfile
* plugins/patman/patman.cpp:
* plugins/patman/Makefile.am:
* plugins/ladspa_effect/ladspa_effect.cpp:

View File

@@ -899,6 +899,11 @@ audioDevice * mixer::tryAudioDevices( void )
audioDevice * dev = NULL;
QString dev_name = configManager::inst()->value( "mixer", "audiodev" );
if( dev_name == audioDummy::name() )
{
dev_name = "";
}
#ifdef ALSA_SUPPORT
if( dev_name == audioALSA::name() || dev_name == "" )
{