From a12e588079700d55a0b788fea2df7727c2e41f52 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 27 Mar 2022 17:42:26 +0200 Subject: Removed MemDebug from FoundationEx --- Stars45/SoundD3D.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'Stars45/SoundD3D.cpp') diff --git a/Stars45/SoundD3D.cpp b/Stars45/SoundD3D.cpp index 812164d..617c8d3 100644 --- a/Stars45/SoundD3D.cpp +++ b/Stars45/SoundD3D.cpp @@ -18,7 +18,6 @@ #include -#include "MemDebug.h" #include "SoundD3D.h" #include "Game.h" #include "Utils.h" @@ -258,7 +257,7 @@ SoundCardD3D::CreateSound(DWORD flags, LPWAVEFORMATEX format) { if (!soundcard) return 0; - Sound* result = new(__FILE__,__LINE__) SoundD3D(soundcard, flags, format); + Sound* result = new SoundD3D(soundcard, flags, format); if (result) AddSound(result); return result; } @@ -269,7 +268,7 @@ Sound* SoundCardD3D::CreateSound(DWORD flags, LPWAVEFORMATEX format, DWORD len, LPBYTE data) { if (!soundcard) return 0; - Sound* result = new(__FILE__,__LINE__) SoundD3D(soundcard, flags, format, len, data); + Sound* result = new SoundD3D(soundcard, flags, format, len, data); if (flags & (Sound::STREAMED | Sound::OGGVORBIS)) { if (result) @@ -436,7 +435,7 @@ ov_file(0) else { data_len = len; - data = new(__FILE__,__LINE__) BYTE[len]; + data = new BYTE[len]; if (!data) { data_len = 0; @@ -863,7 +862,7 @@ SoundD3D::StreamFile(const char* name, DWORD offset) // preload the buffer: w = r = 0; - transfer = new(__FILE__,__LINE__) BYTE[read_size + 1024]; + transfer = new BYTE[read_size + 1024]; if (!transfer) { hr = E_FAIL; @@ -918,7 +917,7 @@ SoundD3D::StreamOggFile() // preload the buffer: w = r = 0; - transfer = new(__FILE__,__LINE__) BYTE[read_size + 1024]; + transfer = new BYTE[read_size + 1024]; if (!transfer) { hr = E_FAIL; -- cgit v1.1