aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/osx_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-26 21:33:13 +0100
committerMax Kellermann <max@duempel.org>2009-02-26 21:33:13 +0100
commitfb5ca6aa29636b4da14405341ff543edaaff4f2b (patch)
treea8a13de50c07a4a49fec4e30ba790161b4ac5046 /src/output/osx_plugin.c
parent985ca094f21dd31b9b37c8a707c19a889db508f1 (diff)
downloadmpd-fb5ca6aa29636b4da14405341ff543edaaff4f2b.tar.gz
mpd-fb5ca6aa29636b4da14405341ff543edaaff4f2b.tar.xz
mpd-fb5ca6aa29636b4da14405341ff543edaaff4f2b.zip
osx: removed commented code
We don't need to keep commented code forever. If we want that test_default_device() implementation back one day, we'll pick it from the git history.
Diffstat (limited to 'src/output/osx_plugin.c')
-rw-r--r--src/output/osx_plugin.c25
1 files changed, 2 insertions, 23 deletions
diff --git a/src/output/osx_plugin.c b/src/output/osx_plugin.c
index ff6ee870c..08f95e83c 100644
--- a/src/output/osx_plugin.c
+++ b/src/output/osx_plugin.c
@@ -38,29 +38,8 @@ struct osx_output {
static bool
osx_output_test_default_device(void)
{
- /*AudioUnit au;
- ComponentDescription desc;
- Component comp;
-
- desc.componentType = kAudioUnitType_Output;
- desc.componentSubType = kAudioUnitSubType_Output;
- desc.componentManufacturer = kAudioUnitManufacturer_Apple;
- desc.componentFlags = 0;
- desc.componentFlagsMask = 0;
-
- comp = FindNextComponent(NULL, &desc);
- if(!comp) {
- ERROR("Unable to open default OS X defice\n");
- return -1;
- }
-
- if(OpenAComponent(comp, &au) != noErr) {
- ERROR("Unable to open default OS X defice\n");
- return -1;
- }
-
- CloseComponent(au); */
-
+ /* on a Mac, this is always the default plugin, if nothing
+ else is configured */
return true;
}