MeterTest

Last Revision:
Version 1.0, 2003-03-14
Sampling of sound input using SPBGetDeviceInfo(). Metering is then turned on and sampling is repeated.
Build Requirements:
Runtime Requirements:
Carbon Sound Manager 3.2.1 or later

This snippet demonstrates record metering through the use of SPBGetDeviceInfo() and SPBSetDeviceInfo() using the siLevelMeterOnOff selector. The code calls SPBSetDeviceInfo() to initially set metering to off, then does a quick sampling of sound input using SPBGetDeviceInfo(). Metering is then turned on and sampling is repeated. This is an SIOW application and could be done more elegantly using a graphical representation for sound input levels. But you get the idea. . . Requirements: Sound Manager 3.2.1 or later Keywords: sound, record, MeterTest