Il giorno mar, 12/02/2008 alle 10.17 -0500, Rich Rattanni ha scritto:
> 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));
> 
> 
> 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?
> 

Prebuffering on streams is always supported.
Are you sure that "Some number" is really "< fgDesc.buffersize" and not
"<= fgDesc.buffersize"?

-- 
Claudio Ciccani
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://directfb.org


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

Reply via email to