Mac OS Sound
| Previous | Chapter Contents | Chapter Top | Next |
Important: Sound Input Manager is deprecated as of Mac OS X v10.5. For new audio development in Mac OS X, use Core Audio. See the Audio page in the ADC Reference Library.
In Sound Manager 3.3, SoundInput.h and SoundComponents.h have been merged into Sound.h. The contents of the two former interface files are now empty; all sound interfaces have been moved to Sound.h.
Previously defined in SoundComponents.h were a set of component sub-types used in the 'thng' resource of an audio codec. This OSType was matched with a given sound's format, which determined the codec necessary to support the given sound.
Unfortunately, the usage of these constants was not obvious to many and are required as the value set in the format parameter of the functions GetCompressionInfo , GetCompressionName , SetupSndHeader , and SetupAIFFHeader , and in the CmpSoundHeader , SndDoubleBufferHeader2 , CompressionInfo and SoundComponentData structures. A new set of constants has been created to replace these, along with the addition of the recently supported formats. These are shown in Table 4-1 > .
Mac OS Sound
| Previous | Chapter Contents | Chapter Top | Next |
Important: Sound Input Manager is deprecated as of Mac OS X v10.5. For new audio development in Mac OS X, use Core Audio. See the Audio page in the ADC Reference Library.