From kde-multimedia Sun Feb 23 17:08:26 2003 From: Matthias Kretz Date: Sun, 23 Feb 2003 17:08:26 +0000 To: kde-multimedia Subject: Re: Questions about arts (mostly to be used in docs) X-MARC-Message: https://marc.info/?l=kde-multimedia&m=104610233124668 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 23 February 2003 07:45, tech@bishop.dhs.org wrote: > 1) I have the skeleton of a new PlayObject written, and I want to try > it out. However, artsd keeps complaining about unknown file format when > I use artsplay on one of my test files. I've compared my .mcopclass > file against various other ones, and I believe I have the format > correct. Where should I be looking to debug this? All applicable files > available upon request. I have both run kbuildsycoca by hand and logged > out/in. ksycoca has nothing to do with aRts, so this won't help... But what you definitely need to do after installing a new module for aRts is to restart artsd (as long as it affects the soundserver itself, that is). If artsd can't find your implementation it's because the Trader is unable to give the right/needed information for aRts to use it. The Trader uses the .mcopclass files for lookup. So if aRts is looking for a module that can decode some format it asks the Trader if there is any module volunteering :-) > 2a) + 2b) I think the best usage example of the Refiller is arts/flow/bytestreamtoaudio_impl.cc (is there a good reason not to use the ByteStreamToAudio interface for a PlayObject?) I don't know any more of that class... only that you need to reimplement if you want to use it since it's an abstract class (but I think that should've been clear by looking at the header, already). - -- C'ya Matthias ________________________________________________________ Matthias Kretz (Germany) <>< http://Vir.homeip.net/ MatthiasKretz@gmx.net, kretz@kde.org, Matthias.Kretz@urz.uni-heidelberg.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+WQAKyg4WnCj6OIoRAoTcAKCqzwSOSoJdXRT+Y/A/LNdh7OgGgQCfasD0 fMYob0oCnxJtUcEun0mNx/g= =4BrA -----END PGP SIGNATURE----- _______________________________________________ kde-multimedia mailing list kde-multimedia@mail.kde.org http://mail.kde.org/mailman/listinfo/kde-multimedia