diff options
Diffstat (limited to 'audio/out/ao_coreaudio.c')
-rw-r--r-- | audio/out/ao_coreaudio.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/audio/out/ao_coreaudio.c b/audio/out/ao_coreaudio.c index 9bb52f47a7..ea780a9d1e 100644 --- a/audio/out/ao_coreaudio.c +++ b/audio/out/ao_coreaudio.c @@ -224,10 +224,7 @@ static void init_physical_format(struct ao *ao) &p->original_asbd); CHECK_CA_WARN("could not get current physical stream format"); - ca_print_asbd(ao, "Trying to set physical format:", &best_asbd); - err = CA_SET(streams[i], kAudioStreamPropertyPhysicalFormat, - &best_asbd); - CHECK_CA_ERROR("could not set physical format"); + ca_change_physical_format_sync(ao, streams[i], best_asbd); break; } } |