|
@@ -46,7 +46,7 @@ extern "C" {
|
46
|
46
|
|
47
|
47
|
/// Allocate and initialize an audio buffer.
|
48
|
48
|
/// devCnt - count of devices this buffer will handle.
|
49
|
|
- /// meterMs - length of the meter buffers in milliseconds
|
|
49
|
+ /// meterMs - length of the meter buffers in milliseconds (automatically limit to the range:10 to 1000)
|
50
|
50
|
cmAbRC_t cmApBufInitialize( unsigned devCnt, unsigned meterMs );
|
51
|
51
|
|
52
|
52
|
/// Deallocate and release any resource held by an audio buffer allocated via cmApBufInitialize().
|
|
@@ -106,6 +106,9 @@ extern "C" {
|
106
|
106
|
|
107
|
107
|
/// Return the meter window period as set by cmApBufInitialize()
|
108
|
108
|
unsigned cmApBufMeterMs();
|
|
109
|
+
|
|
110
|
+ // Set the meter update period. THis function limits the value to between 10 and 1000.
|
|
111
|
+ void cmApBufSetMeterMs( unsigned meterMs );
|
109
|
112
|
|
110
|
113
|
/// Returns the channel count set via cmApBufSetup().
|
111
|
114
|
unsigned cmApBufChannelCount( unsigned devIdx, unsigned flags );
|