[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KAudioPlayer::play()
From:       Arnold Krille <kde () arnoldarts ! de>
Date:       2003-03-25 10:09:50
[Download RAW message or body]

On Tuesday 25 March 2003 10:07, Joerg Anders wrote:
> I use the "KAudioPlayer::play(...)" static function to play an
> MP3 file. This works but some users are running an ALSA pcm application
> in parallel. This apparently avoids plaing my MP3 file.
> This were no problem. But unfortunately the playing is suspended
> and the MP3 is played as soon as the ALSA pcm device becomes free.
> Of course the music is played hours later in a wrong contect and the users
> are surprised and frustrated.
> My question: It there a possibility to find out whether the
> music can be played  before invoking "KAudioPlayer::play(...)"?

Maybe check if the ArtsServer is suspended? Could be done via KArtsServer...

Arnold
[Attachment #3 (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic