Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Mobile devices generally have two separate hardware mechanisms for the transmission of audio. One of these is the speaker used in the transmission of voice data — primarily used for activities like phone calls. The other is a much fuller speaker, used for most any other activity: games, applications, music and video playback, et cetera.
Depending upon the needs of a particular application, AIR developers now have the ability to target a particular hardware speaker on the device. This is accessed by setting the audioPlaybackMode property of the flash.media.SoundMixer class to either the AudioPlaybackMode.MEDIA or AudioPlaybackMode.VOICE constants set through the flash.media.AudioPlaybackMode class.
Another interesting addition is the ability to override the default voice behavior through use of the SoundMixer.useSpeakerphoneForVoice Boolean property.