You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This will also compile with TQt for Qt3, and should not cause any problems with dependent modules such as kdebase. If it does then it needs to be fixed! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da |
14 years ago | |
---|---|---|
.. | ||
mcop-dcop | 15 years ago | |
CMakeLists.txt | 14 years ago | |
Makefile.am | 15 years ago | |
README | 15 years ago | |
artskde.idl | 15 years ago | |
kartsdispatcher.cc | 15 years ago | |
kartsdispatcher.h | 14 years ago | |
kartsfloatwatch.cpp | 15 years ago | |
kartsfloatwatch.h | 15 years ago | |
kartsserver.cpp | 14 years ago | |
kartsserver.h | 14 years ago | |
kaudioconverter.cc | 15 years ago | |
kaudioconverter.h | 14 years ago | |
kaudiomanagerplay.cpp | 15 years ago | |
kaudiomanagerplay.h | 15 years ago | |
kaudioplaystream.cpp | 15 years ago | |
kaudioplaystream.h | 15 years ago | |
kaudioplaystream_p.h | 15 years ago | |
kaudiorecordstream.cpp | 15 years ago | |
kaudiorecordstream.h | 14 years ago | |
kaudiorecordstream_p.h | 15 years ago | |
kconverttest.cc | 15 years ago | |
kconverttest.h | 14 years ago | |
kdatarequest_impl.cpp | 15 years ago | |
kdatarequest_impl.h | 15 years ago | |
kioinputstream_impl.cpp | 14 years ago | |
kioinputstream_impl.h | 15 years ago | |
kiotest.cc | 15 years ago | |
kiotestslow.cc | 15 years ago | |
kplayobject.cc | 14 years ago | |
kplayobject.h | 14 years ago | |
kplayobjectcreator.cc | 15 years ago | |
kplayobjectcreator.h | 14 years ago | |
kplayobjectfactory.cc | 14 years ago | |
kplayobjectfactory.h | 15 years ago | |
kplayobjectfactory_p.h | 14 years ago | |
kvideowidget.cpp | 14 years ago | |
kvideowidget.h | 14 years ago |
README
libartskde Introduction ----------------------- 1. What is libartskde? libartskde is a simple KDE->aRts wrapper that allows the developer to use KDE technology to access aRts. ie. no need to deal with std::string's anymore etc.. you can just use QString's or KURL's to play sound 2. How to use it to play sounds? <snip> 1 KArtsDispatcher dispatcher; 2 KArtsServer server; 3 KURL file = "file:/home/nikoz/test.mp3"; 4 KPlayObjectFactory factory(server.server()); 5 KPlayObject *playobj = factory.createPlayObject(file, true); 6 playobj->play(); <snap> Line: 1 Sets up the a KArtsDispatcher 2 Starts a new SoundServerV2 in the running artsd process 3 Simple test URL to demonstrate the use with KURL 4 Creates a KPlayObjectFactory, parameter: our SoundServerV2 5 Gets a KPlayObject from the factory, containing an Arts::PlayObject created in our running artsd process Parameters: KURL url (specifies the url to be played) bool createBUS (specifies wheter to create a Synth_BUS_UPLINK or not, "false" is only interesting if you want to use EffectsStacks etc..., see Noatun) 6 Play the file That's it, with 6 LOC a "full" media player :) To make the example above compile you will also have to add these #includes: #include <arts/kartsserver.h> #include <arts/kartsdispatcher.h> #include <arts/kplayobject.h> #include <arts/kplayobjectfactory.h> Enjoy... Nikolas Zimmermann <wildfox@kde.org>