13
0

Coreaudio: update workgroup query

This commit is contained in:
Robin Gareus 2022-06-03 06:41:27 +02:00
parent 6a513a11fa
commit 58979af4f2
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1215,7 +1215,7 @@ CoreAudioPCM::workgroup (os_workgroup_t& workgroup)
{
assert (_auhal);
UInt32 size = sizeof (os_workgroup_t);
return noErr == AudioUnitGetProperty (_auhal, kAudioOutputUnitProperty_OSWorkgroup, kAudioUnitScope_Output, 0, &workgroup, &size);
return noErr == AudioUnitGetProperty (_auhal, kAudioOutputUnitProperty_OSWorkgroup, kAudioUnitScope_Global, 0, &workgroup, &size);
}
#endif