From: Rudo Thomas <rudo@matfyz.cz>
To: Ricardo Galli <gallir@uib.es>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.1-mm1: A couple of problems
Date: Sun, 11 Jan 2004 23:42:29 +0100 [thread overview]
Message-ID: <20040111224229.GA8941@ss1000.ms.mff.cuni.cz> (raw)
In-Reply-To: <200401111239.15445.gallir@uib.es>
[-- Attachment #1: Type: text/plain, Size: 408 bytes --]
> - artsd running with ALSA gives the error: "CPU overloading, stopping"
> just few seconds after it began to play a song. It's a P4 HT with SMP
> enabled.
I suppose this is a compatibility problem.
I have just recompiled arts-1.1.94 (aka kde3.2beta2) in gentoo and it does not
print the above message. Gentoo contains some kind of patch to arts. I attached
it. Try if it helps.
Have a nice day.
Rudo.
[-- Attachment #2: arts-1.2.0_beta2-alsafix.diff --]
[-- Type: text/plain, Size: 1535 bytes --]
--- arts/configure.in.in 2003/08/28 17:28:59 1.94
+++ arts/configure.in.in 2003/11/24 20:13:09 1.95
@@ -549,6 +549,26 @@ AC_DEFUN([AC_CHECK_LIBASOUND],
#include <alsa/asoundlib.h>
#endif
],[
+ #if (SND_LIB_MAJOR == 1) && (SND_LIB_MINOR == 0)
+ /* we have ALSA 1.x */
+ #else
+ #error not ALSA 1.x
+ #endif
+ ],
+ kde_has_alsa_1_0=yes,
+ kde_has_alsa_1_0=no)
+ fi
+
+ if test "x$kde_has_asoundlib" = "xyes"; then
+ AC_TRY_COMPILE([
+ #include "confdefs.h"
+ #ifdef HAVE_SYS_ASOUNDLIB_H
+ #include <sys/asoundlib.h>
+ #endif
+ #ifdef HAVE_ALSA_ASOUNDLIB_H
+ #include <alsa/asoundlib.h>
+ #endif
+ ],[
#if (SND_LIB_MAJOR == 0) && (SND_LIB_MINOR == 5)
/* we have ALSA 0.5.x */
#else
@@ -575,6 +595,18 @@ AC_DEFUN([AC_CHECK_LIBASOUND],
AC_DEFINE(HAVE_SND_PCM_RESUME, 1,
[Define if libasound has snd_pcm_resume()])])
fi
+ if test "x$kde_has_alsa_1_0" = "xyes"; then
+ LIBASOUND="-lasound"
+ AC_DEFINE(HAVE_LIBASOUND2, 1,
+ [Define if you have libasound.so.2 (required for ALSA 0.9.x/1.x support)])
+ AC_DEFINE(ALSA_PCM_OLD_SW_PARAMS_API, 1,
+ [Define if you have alsa 1.x])
+ AC_DEFINE(ALSA_PCM_OLD_HW_PARAMS_API, 1,
+ [Define if you have alsa 1.x])
+ AC_CHECK_LIB(asound,snd_pcm_resume,[
+ AC_DEFINE(HAVE_SND_PCM_RESUME, 1,
+ [Define if libasound has snd_pcm_resume()])])
+ fi
])
fi
AC_SUBST(LIBASOUND)
next prev parent reply other threads:[~2004-01-11 22:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-11 11:39 Ricardo Galli
2004-01-11 15:31 ` Max Valdez
2004-01-11 22:42 ` Rudo Thomas [this message]
2004-01-12 2:13 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040111224229.GA8941@ss1000.ms.mff.cuni.cz \
--to=rudo@matfyz.cz \
--cc=gallir@uib.es \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®