Rich Rattanni wrote:
> In my application, I am trying to set the audio prebuffer for a
> playback stream...
> 
> fgProvider-> GetStreamDescription(fgProvider, &fgDesc);       
> fgDesc.flags = (FSStreamDescriptionFlags)((int)fgDesc.flags |
> (int)FSSDF_PREBUFFER);
> fgDesc.prebuffer = Some number < fgDesc.buffersize;
> DFBCHECK(sound->CreateStream(sound, &fgDesc, &fgStream));

Looks good.

> However, the createstream call fails with Invalid Arguments.  I was
> wondering what I may be doing wrong?  Is prebuffering on streams
> supported and/or does it need enabled at compile time?

It is ONLY supported on streams, AFAIK.

-- 
Best regards,
   Denis Oliver Kropp

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

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to