It looks like this should not have been bound since there's a singleton-like static property to use the type. Keeping binary compatibility. - Fixes github issue #3303: AVAudioUnitComponentManager default .ctor can crash on macOS 10.13.3 (https://github.com/xamarin/xamarin-macios/issues/3303)
This commit is contained in:
Родитель
5d50f81cb8
Коммит
12a5e429e8
|
@ -92,6 +92,14 @@ namespace XamCore.AVFoundation {
|
|||
}
|
||||
}
|
||||
|
||||
partial class AVAudioUnitComponentManager {
|
||||
|
||||
[Obsolete ("Please use the static 'SharedInstance' property as this type is not meant to be created.")]
|
||||
public AVAudioUnitComponentManager ()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
#if !MONOMAC
|
||||
partial class AVSampleBufferAudioRenderer
|
||||
{
|
||||
|
|
|
@ -12212,6 +12212,7 @@ namespace XamCore.AVFoundation {
|
|||
|
||||
[NoWatch, iOS (9,0), Mac (10,10)]
|
||||
[BaseType (typeof (NSObject))]
|
||||
[DisableDefaultCtor] // for binary compatibility this is added in AVCompat.cs w/[Obsolete]
|
||||
interface AVAudioUnitComponentManager {
|
||||
|
||||
[Export ("tagNames")]
|
||||
|
|
Загрузка…
Ссылка в новой задаче