Platforms to show: All Mac Windows Linux Cross-Platform
/AVFoundation/AVAudioEngine/Audio Components
Required plugins for this example: MBS MacBase Plugin, MBS Main Plugin, MBS AVFoundation Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /AVFoundation/AVAudioEngine/Audio Components
This example is the version from Mon, 20th Sep 2015.
Project "Audio Components.xojo_binary_project"
Class App Inherits Application
Const kEditClear = "&Delete"
Const kFileQuit = "&Quit"
Const kFileQuitShortcut = ""
End Class
Class MainWindow Inherits Window
Control List Inherits Listbox
ControlInstance List Inherits Listbox
End Control
EventHandler Sub Open()
// Needs OS X 10.10 or newer
dim m as new AVAudioUnitComponentManagerMBS
dim a() as AVAudioUnitComponentMBS = m.allComponents
for each c as AVAudioUnitComponentMBS in a
dim d as AVAudioComponentDescriptionMBS = c.audioComponentDescription
List.AddRow c.Name, c.ManufacturerName, c.LocalizedTypeName, c.VersionString, d.componentType+" "+d.componentSubType
next
End EventHandler
End Class
MenuBar MainMenuBar
MenuItem FileMenu = "&File"
MenuItem FileQuit = "#App.kFileQuit"
MenuItem EditMenu = "&Edit"
MenuItem EditUndo = "&Undo"
MenuItem EditSeparator1 = "-"
MenuItem EditCut = "Cu&t"
MenuItem EditCopy = "&Copy"
MenuItem EditPaste = "&Paste"
MenuItem EditClear = "#App.kEditClear"
MenuItem EditSeparator2 = "-"
MenuItem EditSelectAll = "Select &All"
End MenuBar
End Project
The items on this page are in the following plugins: MBS AVFoundation Plugin.