Version: 1.0

Posted: 2003-01-14

Build Requirements: QuickTime 5

Runtime Requirements: Carbon

View Source Code:

Download Sample (“sndequalizer.zip”, 131.2K)
Download Sample (“sndequalizer.dmg”, 204.8K)



Description

This sample creates and manages a dialog window containing a graphic equalizer display, similar to the one in the "LCD panel" in QuickTime Player. Really there are just two key functions that you use to make this happen, MediaSetSoundEqualizerBands and MediaGetSoundEqualizerBandLevels.

Important Note: While this sample still functions with QuickTime 7, the APIs being demonstrated; MediaSetSoundEqualizerBands and MediaGetSoundEqualizerBandLevel are no longer preferred. Developers should use the new Movie level APIs SetMovieAudioFrequencyMeteringNumBands and GetMovieAudioFrequencyLevels. See the Audio Playback Enhancements section of the QuickTime 7 Update Guide for more information.

Document Revision History

Date Notes
2003-01-14Manage a dialog window containing a graphical equalizer display.

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.