Skip to content

Commit 0d86b65

Browse files
committed
Allow OALAudioSession in Android OALSimpleAudio
1 parent 7a2c5ff commit 0d86b65

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

external/ObjectAL/OALSimpleAudio.m

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -709,41 +709,22 @@ - (void) resetToDefault
709709

710710
- (bool) manuallySuspended
711711
{
712-
#if ANDROID
713-
#warning manuallySuspended not implemented
714-
return false;
715-
#else
716712
return [OALAudioSession sharedInstance].manuallySuspended;
717-
#endif
718713
}
719714

720715
- (void) setManuallySuspended:(bool) value
721716
{
722-
#if ANDROID
723-
#warning setManuallySuspended not implemented
724-
#else
725717
[OALAudioSession sharedInstance].manuallySuspended = value;
726-
#endif
727718
}
728719

729720
- (bool) interrupted
730721
{
731-
#if ANDROID
732-
#warning interrupted not implemented
733-
return false;
734-
#else
735722
return [OALAudioSession sharedInstance].interrupted;
736-
#endif
737723
}
738724

739725
- (bool) suspended
740726
{
741-
#if ANDROID
742-
#warning suspended not implemented
743-
return false;
744-
#else
745727
return [OALAudioSession sharedInstance].suspended;
746-
#endif
747728
}
748729

749730

external/ObjectAL/Session/OALAudioSession.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
#endif
155155

156156
#elif __CC_PLATFORM_ANDROID
157-
#warning Not implemented
157+
#warning audioSessionDelegate not implemented
158158
#endif
159159

160160
/** If true, the audio session is active */

0 commit comments

Comments
 (0)