diff options
Diffstat (limited to 'libs/appleutility/CAComponentDescription.cpp')
-rw-r--r-- | libs/appleutility/CAComponentDescription.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/appleutility/CAComponentDescription.cpp b/libs/appleutility/CAComponentDescription.cpp index 7c3a449955..70e0285501 100644 --- a/libs/appleutility/CAComponentDescription.cpp +++ b/libs/appleutility/CAComponentDescription.cpp @@ -73,7 +73,7 @@ void CAComponentDescription::_CAShowComponentDescription(const ComponentDescrip char str[24]; fprintf (file, "ComponentDescription: %s - ", StringForOSType(desc->componentType, str)); fprintf (file, "%s - ", StringForOSType(desc->componentSubType, str)); - fprintf (file, "%s", StringForOSType(desc->componentManufacturer, str)); + fprintf (file, "%s", StringForOSType(desc->componentManufacturer, str)); fprintf (file, ", 0x%lX, 0x%lX\n", desc->componentFlags, desc->componentFlagsMask); } } @@ -91,7 +91,7 @@ bool CAComponentDescription::IsAU () const { bool flag = IsEffect() || IsMusicDevice() || IsOffline(); if (flag) return true; - + switch (componentType) { case kAudioUnitType_Output: case kAudioUnitType_FormatConverter: @@ -109,15 +109,15 @@ inline bool _MatchTest (const OSType &inTypeA, const OSType &inTypeB) bool CAComponentDescription::Matches (const ComponentDescription &desc) const { bool matches = false; - + // see if the type matches matches = _MatchTest (componentType, desc.componentType); - + if (matches) matches = _MatchTest (componentSubType, desc.componentSubType); - + if (matches) matches = _MatchTest (componentManufacturer, desc.componentManufacturer); - + return matches; } |