Merge branch 'stable-1.1'
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* audio_alsa.cpp - device-class which implements ALSA-PCM-output
|
||||
*
|
||||
* Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
* Copyright (c) 2004-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -145,10 +145,11 @@ int AudioAlsa::handleError( int _err )
|
||||
// under-run
|
||||
_err = snd_pcm_prepare( m_handle );
|
||||
if( _err < 0 )
|
||||
printf( "Can't recovery from underrun, prepare "
|
||||
printf( "Can't recover from underrun, prepare "
|
||||
"failed: %s\n", snd_strerror( _err ) );
|
||||
return ( 0 );
|
||||
}
|
||||
#ifdef ESTRPIPE
|
||||
else if( _err == -ESTRPIPE )
|
||||
{
|
||||
while( ( _err = snd_pcm_resume( m_handle ) ) == -EAGAIN )
|
||||
@@ -161,11 +162,12 @@ int AudioAlsa::handleError( int _err )
|
||||
{
|
||||
_err = snd_pcm_prepare( m_handle );
|
||||
if( _err < 0 )
|
||||
printf( "Can't recovery from suspend, prepare "
|
||||
printf( "Can't recover from suspend, prepare "
|
||||
"failed: %s\n", snd_strerror( _err ) );
|
||||
}
|
||||
return ( 0 );
|
||||
}
|
||||
#endif
|
||||
return _err;
|
||||
}
|
||||
|
||||
|
||||
@@ -399,8 +399,6 @@ int main( int argc, char * * argv )
|
||||
QApplication::setStyle( lmmsstyle );
|
||||
|
||||
LmmsPalette * lmmspal = new LmmsPalette( NULL, lmmsstyle );
|
||||
lmmspal->show(); // necessary to get properties
|
||||
lmmspal->hide();
|
||||
QPalette lpal = lmmspal->palette();
|
||||
|
||||
QApplication::setPalette( lpal );
|
||||
|
||||
@@ -49,6 +49,7 @@ LmmsPalette::LmmsPalette( QWidget * parent, QStyle * stylearg ) :
|
||||
{
|
||||
setStyle( stylearg );
|
||||
stylearg->polish( this );
|
||||
ensurePolished();
|
||||
}
|
||||
|
||||
LmmsPalette::~LmmsPalette()
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<string notr="true" >font:12pt; font-weight:bold;</string>
|
||||
</property>
|
||||
<property name="text" >
|
||||
<string>LMMS (Linux MultiMedia Studio)</string>
|
||||
<string>LMMS</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
Reference in New Issue
Block a user