Changeset 653 for trunk/StreamVision
- Timestamp:
- 01/26/13 03:19:52 (12 years ago)
- Location:
- trunk/StreamVision
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/StreamVision/StreamVision.py
r650 r653 8 8 from Carbon.CarbonEvt import RegisterEventHotKey, GetApplicationEventTarget 9 9 from Carbon.Events import cmdKey, shiftKey, controlKey 10 from AudioDevice import default_output_device_is_airplay 10 11 import httplib2 11 12 import os … … 112 113 def turnStereoOn(): 113 114 global needsStereoPowerOn 114 if not mayUseStereo():115 if not default_output_device_is_airplay() or not mayUseStereo(): 115 116 if HAVE_XTENSION and XTensionApp().status('Stereo'): 116 117 XTensionApp().turnoff('Stereo') … … 122 123 def turnStereoOff(): 123 124 global needsStereoPowerOn 124 if not mayUseStereo():125 if default_output_device_is_airplay() or not mayUseStereo(): 125 126 return 126 127 if not needsStereoPowerOn and XTensionApp().status('Stereo'): -
trunk/StreamVision/setup.py
r634 r653 22 22 sources=['HotKeymodule.c'], 23 23 extra_link_args=['-framework', 'Carbon']), 24 Extension('AudioDevice', 25 sources=['AudioDevicemodule.c'], 26 extra_link_args=['-framework', 'AudioToolbox']), 24 27 Extension('HIDRemote', 25 28 sources=['HIDRemotemodule.m'],
Note:
See TracChangeset
for help on using the changeset viewer.