I couldn't locate any field description of structure DFBBufferThresholds. 

1)
What is the scale/units e.g. in millisecond or seconds etc?

minimum_level: what value to set? is it to be given in % or buffer size in 
bytes?
maximum_time : is it in milliseconds or seconds?

2)
Is there any way to ignore data level when we use time based threshold and vice 
versa?

=========================
typedef struct {
     DFBStreamCapabilities selection;    /* Which of the Audio / Video are we 
setting? */

     struct {
          unsigned int  minimum_level;   /* The level at which a DVPET_DATALOW 
event will be generated. */
          unsigned int  maximum_level;   /* The level at which a DVPET_DATAHIGH 
event will be generated. */
          unsigned int  minimum_time;    /* The level at which a 
DVPET_BUFFERTIMELOW event will be generated. */
          unsigned int  maximum_time;    /* The level at which a 
DVPET_BUFFERTIMEHIGH event will be generated. */
     } video;

     struct {
          unsigned int  minimum_level;   /* The level at which a DVPET_DATALOW 
event will be generated. */
          unsigned int  maximum_level;   /* The level at which a DVPET_DATAHIGH 
event will be generated. */
          unsigned int  minimum_time;    /* The level at which a 
DVPET_BUFFERTIMELOW event will be generated. */
          unsigned int  maximum_time;    /* The level at which a 
DVPET_BUFFERTIMEHIGH event will be generated. */
     } audio;
} DFBBufferThresholds;


============================================================================================================================Disclaimer:
  This message and the information contained herein is proprietary and 
confidential and subject to the Tech Mahindra policy statement, you may review 
the policy at <a 
href="http://www.techmahindra.com/Disclaimer.html";>http://www.techmahindra.com/Disclaimer.html</a>
 externally and <a 
href="http://tim.techmahindra.com/Disclaimer.html";>http://tim.techmahindra.com/Disclaimer.html</a>
 internally within Tech 
Mahindra.============================================================================================================================
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to