Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-03-14

Build Requirements: N/A

Runtime Requirements: Carbon Sound Manager 3.2 or later

View Source Code:

Download Sample (“Record_sound_specific_rate.zip”, 15.8K)
Download Sample (“Record_sound_specific_rate.dmg”, 70.3K)


This sample shows how to use SPBRecord to record to memory, convert the sampling rate to some arbitrary rate, and then write the recorded, rate converted samples to disk, asynchronously, using PBWriteAsync. This sample is useful for those developers who wish more flexibility than what is offered with SPBRecordToFile, or for those wishing to record at a rate not supported by the sound input driver. Requirements: Sound Manager 3.2 or later Keywords: record, sound, disk, SPBRecord, SoundConvert

Document Revision History

Date Notes
2003-03-14First Version

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.