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.x, Carbon 1.5+ to run as a carbon compiled library, Project Builder 1.1.1, CodeWarrior IDE

View Source Code:

Download Sample (“CarbonSndPlayDB.zip”, 45.9K)
Download Sample (“CarbonSndPlayDB.dmg”, 106.8K)



Description

This is a set of functions which reproduce the functionality of SndPlayDoubleBuffer in the Carbon environment, giving developers who use SndPlayDoubleBuffer a simpler transition to Carbon. This sample shows how to parse the input structures to SndPlayDoubleBuffer and set up a sequence of bufferCmd and callBackCmd commands to play sounds and call the user's/application's SndPlayDoubleBufferCallBack function. This sample does not have to be run under Carbon, it works just fine under Classic as well and can also be adapted to be useful to developers who would like to have better control over synchronization of sounds or playback and recording. CodeWarrior 5, 7 and Project Builder projects are included. Requirements: Sound Manager 3.x, Carbon 1.5+ to run as a carbon compiled library, Project Builder 1.1.1, CodeWarrior IDE Keywords: SndPlayDoubleBuffer, Carbon

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.