File tree Expand file tree Collapse file tree
tests/monotouch-test/AudioToolbox Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,15 +31,15 @@ public void GetSetComponentList ()
3131 var types = new List < AudioTypeOutput > { AudioTypeOutput . Generic , AudioTypeOutput . Remote , AudioTypeOutput . VoiceProcessingIO } ;
3232 foreach ( var t in types ) {
3333 var resources = new ResourceUsageInfo ( ) ;
34- resources . IOKitUserClient = new NSString [ ] { new NSString ( "CustomUserClient1" ) } ;
35- resources . MachLookUpGlobalName = new NSString [ ] { new NSString ( "MachServiceName1" ) } ;
34+ resources . IOKitUserClient = new string [ ] { "CustomUserClient1" } ;
35+ resources . MachLookUpGlobalName = new string [ ] { "MachServiceName1" } ;
3636 resources . NetworkClient = false ;
3737 resources . TemporaryExceptionReadWrite = false ;
3838
3939 var componentInfo = new AudioComponentInfo ( ) ;
4040 componentInfo . Type = t . ToString ( ) ;
41- componentInfo . Subtype = new NSString ( "XMPL" ) ;
42- componentInfo . Name = new NSString ( "XMPL" ) ;
41+ componentInfo . Subtype = "XMPL" ;
42+ componentInfo . Name = "XMPL" ;
4343 componentInfo . Version = 1 ;
4444 componentInfo . ResourceUsage = resources ;
4545 var component = AudioComponent . FindComponent ( t ) ;
You can’t perform that action at this time.
0 commit comments