diff options
author | BastiaanOlij <mux213@gmail.com> | 2017-01-16 20:32:44 +1100 |
---|---|---|
committer | BastiaanOlij <mux213@gmail.com> | 2017-01-16 20:32:44 +1100 |
commit | cef0ae5d5de496c26f441f55f22d5b32dc15f7b8 (patch) | |
tree | ef68872893aa8bd5a0bade9fa45cfecf2c6e0d52 /platform/osx/os_osx.mm | |
parent | 2a0ddc1e89ec7b947152c8d0cb132d58f2c00a81 (diff) |
Fix compile errors related to audio on OSX
Diffstat (limited to 'platform/osx/os_osx.mm')
-rw-r--r-- | platform/osx/os_osx.mm | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/platform/osx/os_osx.mm b/platform/osx/os_osx.mm index e863104205..854ccacbf1 100644 --- a/platform/osx/os_osx.mm +++ b/platform/osx/os_osx.mm @@ -1109,18 +1109,6 @@ void OS_OSX::initialize(const VideoMode& p_desired,int p_video_driver,int p_audi ERR_PRINT("Initializing audio failed."); } - sample_manager = memnew( SampleManagerMallocSW ); - audio_server = memnew( AudioServerSW(sample_manager) ); - - audio_server->set_mixer_params(AudioMixerSW::INTERPOLATION_LINEAR,false); - audio_server->init(); - - spatial_sound_server = memnew( SpatialSoundServerSW ); - spatial_sound_server->init(); - - spatial_sound_2d_server = memnew( SpatialSound2DServerSW ); - spatial_sound_2d_server->init(); - // physics_server = memnew( PhysicsServerSW ); physics_server->init(); @@ -1167,19 +1155,9 @@ void OS_OSX::finalize() { CFNotificationCenterRemoveObserver(CFNotificationCenterGetDistributedCenter(), NULL, kTISNotifySelectedKeyboardInputSourceChanged, NULL); delete_main_loop(); - spatial_sound_server->finish(); - memdelete(spatial_sound_server); - spatial_sound_2d_server->finish(); - memdelete(spatial_sound_2d_server); - memdelete(joypad_osx); memdelete(input); - memdelete(sample_manager); - - audio_server->finish(); - memdelete(audio_server); - visual_server->finish(); memdelete(visual_server); //memdelete(rasterizer); |