Skip to content

Shows how to receive notifications when headphones are inserted/removed using Cocoa/Carbon on Mac OS X

License

Apache-2.0, LGPL-3.0 licenses found

Licenses found

Apache-2.0
LICENSE
LGPL-3.0
Copying.lesser
Notifications You must be signed in to change notification settings

pjrobertson/Headphoney

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

A simple project to show you how to use CoreAudio in order to detect headphone insertion/removal.

When headphones are inserted or the internal speakers are selected for use, your notification block will be called.

All Kudos go to this guy on SO.

Compatibility

This has only been tested on OS X 10.9, but it builds without warnings using the 10.7 SDK - so it should work fine there.

License

This work is provided under the LGPL license. That is - any derivatives of this work, or apps that use this source code must also be open source (any license)

About

Shows how to receive notifications when headphones are inserted/removed using Cocoa/Carbon on Mac OS X

Resources

License

Apache-2.0, LGPL-3.0 licenses found

Licenses found

Apache-2.0
LICENSE
LGPL-3.0
Copying.lesser

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published