sourcestats: add function to get minsamples
This commit is contained in:
parent
f9af2f9733
commit
d06ae4a60e
2 changed files with 10 additions and 0 deletions
|
@ -986,6 +986,14 @@ SST_Samples(SST_Stats inst)
|
||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
|
|
||||||
|
int
|
||||||
|
SST_GetMinSamples(SST_Stats inst)
|
||||||
|
{
|
||||||
|
return inst->min_samples;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ================================================== */
|
||||||
|
|
||||||
void
|
void
|
||||||
SST_DoSourcestatsReport(SST_Stats inst, RPT_SourcestatsReport *report, struct timespec *now)
|
SST_DoSourcestatsReport(SST_Stats inst, RPT_SourcestatsReport *report, struct timespec *now)
|
||||||
{
|
{
|
||||||
|
|
|
@ -133,6 +133,8 @@ extern void SST_DoSourcestatsReport(SST_Stats inst, RPT_SourcestatsReport *repor
|
||||||
|
|
||||||
extern int SST_Samples(SST_Stats inst);
|
extern int SST_Samples(SST_Stats inst);
|
||||||
|
|
||||||
|
extern int SST_GetMinSamples(SST_Stats inst);
|
||||||
|
|
||||||
extern double SST_GetJitterAsymmetry(SST_Stats inst);
|
extern double SST_GetJitterAsymmetry(SST_Stats inst);
|
||||||
|
|
||||||
#endif /* GOT_SOURCESTATS_H */
|
#endif /* GOT_SOURCESTATS_H */
|
||||||
|
|
Loading…
Reference in a new issue