Version: 1.0

Posted: 2003-03-14

Build Requirements: N/A

Runtime Requirements: Carbon Sound Manager 3.2.1 or later

View Source Code:

Download Sample (“MeterTest.zip”, 28.5K)
Download Sample (“MeterTest.dmg”, 91.2K)



Description

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

Document Revision History

Date Notes
2003-03-14Sampling of sound input using SPBGetDeviceInfo(). Metering is then turned on and sampling is repeated.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.