Skip to content

Commit

Permalink
[CoreAudioKit] Update to Xcode 9 Beta 1 (#2212)
Browse files Browse the repository at this point in the history
  • Loading branch information
dalexsoto authored Jun 12, 2017
1 parent 57ca12f commit 59f97a0
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/coreaudiokit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,33 @@ interface AUViewController : NSExtensionRequestHandling {
[PostGet ("NibBundle")]
IntPtr Constructor ([NullAllowed] string nibName, [NullAllowed] NSBundle bundle);
}

[iOS (11,0)][Mac (10,13, onlyOn64: true)]
[BaseType (typeof (NSObject))]
interface AUAudioUnitViewConfiguration : NSSecureCoding {
[Export ("initWithWidth:height:hostHasController:")]
IntPtr Constructor (nfloat width, nfloat height, bool hostHasController);

[Export ("width")]
nfloat Width { get; }

[Export ("height")]
nfloat Height { get; }

[Export ("hostHasController")]
bool HostHasController { get; }
}

[Category]
[iOS (11,0)][Mac (10,13, onlyOn64: true)]
[BaseType (typeof (AUAudioUnit))]
interface AUAudioUnitViewControllerExtensions {
[Export ("supportedViewConfigurations:")]
NSIndexSet GetSupportedViewConfigurations (AUAudioUnitViewConfiguration [] availableViewConfigurations);

[Export ("selectViewConfiguration:")]
void SelectViewConfiguration (AUAudioUnitViewConfiguration viewConfiguration);
}
#endif

#if !MONOMAC
Expand Down

0 comments on commit 59f97a0

Please sign in to comment.