Reference Manual - 1.0.0
IFusionSoundStream   GetStatus

Query ring buffer status.

GetStatus (
  IFusionSoundStream   * thiz,
  int   * filled,
  int   * total,
  int   * read_position,
  int   * write_position,
  DFBBoolean   * playing
);

Returns the number of samples the ring buffer is filled with, the total number of samples that can be stored (buffer size), current read_position and write_position and if the stream is playing.

Simply pass NULL for values that are not of interest.

Creative Commons License This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License