~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/maccore/src/AudioUnit/AudioComponent.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
//   AKIHIRO Uehara (u-akihiro@reinforce-lab.com)
6
6
//
7
7
// Copyright 2010 Reinforce Lab.
 
8
// Copyright 2011, 2012 Xamarin Inc
8
9
//
9
10
// Permission is hereby granted, free of charge, to any person obtaining
10
11
// a copy of this software and associated documentation files (the
107
108
                        return FindComponent (AudioComponentDescription.CreateGenerator (generator));
108
109
                }
109
110
 
110
 
                [DllImport(MonoMac.Constants.AudioToolboxLibrary, EntryPoint = "AudioComponentFindNext")]
 
111
                [DllImport(MonoMac.Constants.AudioUnitLibrary, EntryPoint = "AudioComponentFindNext")]
111
112
                static extern IntPtr AudioComponentFindNext(IntPtr inComponent, AudioComponentDescription inDesc);
112
113
 
113
 
                [DllImport(MonoMac.Constants.AudioToolboxLibrary)]
 
114
                [DllImport(MonoMac.Constants.AudioUnitLibrary, EntryPoint = "AudioComponentCopyName")]
114
115
                static extern int AudioComponentCopyName (IntPtr component, out IntPtr cfstr);
115
116
                
116
117
                public string Name {
122
123
                        }
123
124
                }
124
125
 
125
 
                [DllImport(MonoMac.Constants.AudioToolboxLibrary)]
 
126
                [DllImport(MonoMac.Constants.AudioUnitLibrary, EntryPoint = "AudioComponentGetDescription")]
126
127
                static extern int AudioComponentGetDescription (IntPtr component, out AudioComponentDescription desc);
127
128
                public AudioComponentDescription Description {
128
129
                        get {
134
135
                        }
135
136
                }
136
137
 
137
 
                [DllImport(MonoMac.Constants.AudioToolboxLibrary)]
 
138
                [DllImport(MonoMac.Constants.AudioUnitLibrary, EntryPoint = "AudioComponentCount")]
138
139
                static extern int AudioComponentCount (AudioComponentDescription desc);
139
140
                static int CountMatches (AudioComponentDescription desc)
140
141
                {
143
144
                        return AudioComponentCount (desc);
144
145
                }
145
146
 
146
 
                [DllImport(MonoMac.Constants.AudioToolboxLibrary)]
 
147
                [DllImport(MonoMac.Constants.AudioUnitLibrary, EntryPoint = "AudioComponentGetVersion")]
147
148
                static extern int AudioComponentGetVersion (IntPtr component, out int version);
148
149
 
149
150
                public Version Version {