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

List:       kde-bugs-dist
Subject:    [Bug 59184] New: wanted: something like arts_init() that only
From:       David Walser <luigiwalser () yahoo ! com>
Date:       2003-05-31 17:29:44
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=59184     
           Summary: wanted: something like arts_init() that only suceeds if
                    arts has DSP device open
           Product: arts
           Version: 1.1.1
          Platform: Mandrake RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: stefan@space.twc.de
        ReportedBy: luigiwalser@yahoo.com


Version:           1.1.1 (using KDE KDE 3.1.1)
Installed from:    Mandrake RPMs
Compiler:          gcc version 3.2.2 (Mandrake Linux 9.2 3.2.2-5mdk) 
OS:          Linux

arts_init() will open a connection to the artsd daemon, and let you use it.  It \
suceeds (returns 0) if artsd is running.

You can use this to pick whether to output to arts or OSS in your application.  If \
you have to use arts_init() to do it, the only criteria you can use to make your \
choice is whether artsd is *running* or not.

It would be nice to make the choice based on whether artsd actually has the DSP \
device open or not, so you can choose to only use arts if it has the device open, and \
OSS otherwise.

What would be needed for that would be another call that would work like arts_init(), \
except it would only return 0 if artsd was running *and* had the DSP device open.


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

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