Coreaudio: update workgroup query
This commit is contained in:
parent
6a513a11fa
commit
58979af4f2
@ -1215,7 +1215,7 @@ CoreAudioPCM::workgroup (os_workgroup_t& workgroup)
|
|||||||
{
|
{
|
||||||
assert (_auhal);
|
assert (_auhal);
|
||||||
UInt32 size = sizeof (os_workgroup_t);
|
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
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user