AirPlay Mirroring was first introduced to the Mac with the release of OS X Mountain Lion in 2012. The feature makes it possible to take whatever is on your Mac's screen and display it on a nearby television that's connected to an Apple TV. But what if you want to share audio without someone else seeing your screen, or you simply want to use an AirPlay-equipped speaker to listen to music?
You can use AirPlay on your Mac to send only the dings, beeps and every other sound to a nearby AirPlay device. This feature comes in particularly handy when listening to Apple Music's Beats 1 radio station, due to Apple disabling AirPlay in iTunes when you begin streaming the channel (for some reason I'm yet to figure out).
In order for this to work you'll need to have a Mac built in mid-2011 or later, running OS X Mountain Lion or newer.
Remember, you'll need an Apple TV or AirPlay-compatible speaker connected to the same network as your Mac for this to work.
In order to stream all audio from your Mac using AirPlay, you just need to change the audio output of your Mac. You can do this one of two ways:
The first is by launching System Preferences, clicking on Sound, followed by the Output tab. Select the appropriate speaker or Apple TV from the list of options.
The easier method is to hold down the Option key on your keyboard, then click on the speaker icon in your menu bar. You will then see a list of audio output devices, including any Apple TVs or AirPlay speakers on the local network.
Once you change the audio output to an AirPlay device, all audio coming from your Mac will go through the Apple TV, and not the internal speakers on your Mac.
To change the audio output back to your Mac's internal speakers, you can either Option-click on the speaker icon again and select internal speakers, or go back into System Preferences and change it there.
Editors' note: This post was originally published July 30, 2012. It has since been updated to reflect current operating systems.
reading•How to AirPlay only audio from your Mac
Nov 18•I went to buy an iPhone X. AT&T told me Galaxy Note 8 is better
Nov 18•HomePod delay clouds Apple’s smart speaker future
Nov 18•Apple Park opens its doors to outsiders
Nov 17•iPhone X is one of Time's 25 best inventions of 2017 (Apple Byte Extra Crunchy, Ep. 110)