mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-06 04:00:08 +00:00
Fix for xcode linker warnings when using the static lib. Tweaks to iPhone audio and StretchableLayoutManager.
This commit is contained in:
parent
e80ee06365
commit
942999ea31
8 changed files with 35 additions and 17 deletions
|
|
@ -122,7 +122,9 @@ public:
|
|||
|
||||
AudioSessionSetActive (true);
|
||||
|
||||
UInt32 audioCategory = kAudioSessionCategory_PlayAndRecord;
|
||||
UInt32 audioCategory = audioInputIsAvailable ? kAudioSessionCategory_PlayAndRecord
|
||||
: kAudioSessionCategory_MediaPlayback;
|
||||
|
||||
AudioSessionSetProperty (kAudioSessionProperty_AudioCategory, sizeof (audioCategory), &audioCategory);
|
||||
AudioSessionAddPropertyListener (kAudioSessionProperty_AudioRouteChange, propertyChangedStatic, this);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue