summaryrefslogtreecommitdiff
path: root/audio/tests/KSPosTst/locallimits.h
blob: 60336eb50305ae83d95109e8b55cbfaf5d2490f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// ------------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
// Module Name:
//
//  locallimits.h
//
// Abstract:
//
//  defines the tolerances for WHQL failures for this test app
//
// -------------------------------------------------------------------------------

// max latency for rendering or capturing is 20 ms
#define LATENCY_THRESHOLD           20.

//  Real time sampling rates must be within 1% of the theoretical rate,
//  per the format, as required by the PC98/PC99 HW Design Guide.
#define SAMPLERATE_THRESHOLD        1.0

//  audio devices are required to be SAMPLEACCURATE (PC9x HW Design Guide)..  
//  but for some reason we are making them ms accurate??
#define JITTER_STD_THRESHOLD        1.0       // 1 ms max allowed for std-deviation
#define JITTER_MAX_THRESHOLD        4.0       // 4 ms max allowed for max deviation