Skip to content

Commit 276a3ca

Browse files
committed
Core audio format
1 parent a0db11e commit 276a3ca

File tree

10 files changed

+984
-1
lines changed

10 files changed

+984
-1
lines changed

modules/yup_audio_formats/common/yup_AudioFormatManager.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ AudioFormatManager::AudioFormatManager()
2828

2929
void AudioFormatManager::registerDefaultFormats()
3030
{
31-
// Register Wave format
31+
#if YUP_AUDIO_FORMAT_COREAUDIO
32+
registerFormat (std::make_unique<AppleCoreAudioFormat>());
33+
#endif
34+
3235
#if YUP_AUDIO_FORMAT_WAVE
3336
registerFormat (std::make_unique<WaveAudioFormat>());
3437
#endif

0 commit comments

Comments
 (0)