Denis Oliver Kropp wrote:
> Claudio Ciccani wrote:
>> Il giorno mar, 15/01/2008 alle 16.55 +0100, Denis Oliver Kropp ha
>> scritto:
>>> Claudio Ciccani wrote:
>>>> Il giorno mar, 15/01/2008 alle 13.53 +0100, Denis Oliver Kropp ha
>>>> scritto:
>>>>> Wow, somehow I knew you'd be adding Voodoo Sound at some point, but I'm 
>>>>> really
>>>>> surprised and very pleased now, thanks! :)
>>>>>
>>>>> How did you solve the IFusionSoundBuffer::Lock()?
>>>>>
>>>> Quite simple!
>>>> The requestor allocates a local buffer that is returned to the
>>>> application upon Lock().
>>>> When the buffer is Unlock()'d, the requestor sends the local buffer to
>>>> the remote instance.
>>> That was my guess :)
>>>
>>> Does it distinguish between read, write and read/write? I think the API 
>>> does not have flags for it.
>>>
>>> You should retrieve the buffer and send it back :(
>>>
>> In FusionSound there is no need to retrieve the buffer because the
>> library doesn't modify the contents. Only the user and the music
>> provider can do it, and the latter is always created locally (actually
>> the music provider resides on the client machine and submits the decoded
>> stream to the remote host).
> 
> Would be nice to have server side music providers to let the client
> stream the original content from a file to the server without recompression.

This is what I did with the image providers. The server side had the actual
implementation using libpng and the client sent the compressed data for loading
an image to a surface.

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to