fixed critical bug in ALSA-driver

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@37 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2005-12-16 13:00:00 +00:00
parent bcef7b0b82
commit f700c16c33
5 changed files with 12 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
2005-12-15 Tobias Doerffel <tobydox/at/users.sourceforge.net>
* include/audio_alsa.h:
do not include alsa-headers if they do not exist...
2005-12-14 Tobias Doerffel <tobydox/at/users.sourceforge.net>
* src/core/file_browser.cpp:

View File

@@ -2,8 +2,8 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.50)
AC_INIT(lmms, 0.1.1-cvs20051214, tobydox/at/users.sourceforge.net)
AM_INIT_AUTOMAKE(lmms, 0.1.1-cvs20051214)
AC_INIT(lmms, 0.1.1-cvs20051215, tobydox/at/users.sourceforge.net)
AM_INIT_AUTOMAKE(lmms, 0.1.1-cvs20051215)
AM_CONFIG_HEADER(config.h)

View File

@@ -36,10 +36,10 @@
#define ALSA_SUPPORT
#endif
#endif
#include <alsa/asoundlib.h>
#endif
#include "qt3support.h"
#ifdef QT4

View File

@@ -623,7 +623,7 @@ void songEditor::wheelEvent( QWheelEvent * _we )
void songEditor::masterVolumeChanged( int _new_val )
{
if( m_mvsStatus->isShown() == FALSE )
if( m_mvsStatus->isVisible() == FALSE )
{
masterVolumeMoved( _new_val );
m_mvsStatus->reparent( m_masterVolumeSlider );
@@ -665,7 +665,7 @@ void songEditor::masterVolumeReleased( void )
void songEditor::masterPitchChanged( int _new_val )
{
if( m_mpsStatus->isShown() == FALSE )
if( m_mpsStatus->isVisible() == FALSE )
{
masterPitchMoved( _new_val );
m_mpsStatus->reparent( m_masterPitchSlider );

View File

@@ -223,7 +223,7 @@ void groupBox::updatePixmap( void )
#ifdef QT4
QPalette pal = palette();
pal.setBrush( backgroundRole(), QBrush( pm ) );
pal.setColor( QPalette::Background, QColor( 96, 96, 96 ) );
/* pal.setColor( QPalette::Background, QColor( 96, 96, 96 ) );*/
setPalette( pal );
#else
setPaletteBackgroundColor( QColor( 96, 96, 96 ) );