[GSoC] PCM I/O API for Phonon

Colin Guthrie phonon at colin.guthr.ie
Sat May 22 14:47:16 CEST 2010


'Twas brillig, and Ian Monroe at 22/05/10 14:41 did gyre and gimble:
> On Sat, May 22, 2010 at 7:23 AM, Martin Sandsmark
> <sandsmark at samfundet.no>  wrote:
>> On Saturday 22. May 2010 11.40.26 Ian Monroe wrote:
>>> Great looking project. It came up at the KDE multimedia sprint since
>>> this would be a good feature for KNotify, so that the sounds could be
>>> much more responsive.
>>
>> You mean make KNotify read in and decode the sounds and store them in memory
>> or something? I think making MediaObject able to "preload" files would be
>> simpler, maybe. And also make it suitable for more use-cases that need more
>> responsive playback.
>
> No, I didn't mean that. Just that it would make sense for KNotify to
> use PCM I/O in whatever way that it works. Your idea of having it as a
> feature of MediaObject makes sense to me.

 From my perspective, I could offload this capability to the PulseAudio 
sample cache system. This will allow the fastest possible "playback" of 
these samples when used with a PA-compatible backend which is obviously 
desirable.

If it was part of mediaobject, then I see this being relatively simple 
(for various values of "simple").

Of course if Michael wants to do this part too, I'd certainly help out 
with advice etc.! (perhaps that's just wishful thinking on my part tho'!)

Col

-- 

+------------------------+
|     Colin Guthrie      |
+------------------------+
| http://colin.guthr.ie/ |
+------------------------+



More information about the Phonon-backends mailing list