summaryrefslogtreecommitdiffhomepage
path: root/Stars45/SoundD3D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/SoundD3D.cpp')
-rw-r--r--Stars45/SoundD3D.cpp11
1 files changed, 5 insertions, 6 deletions
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 <dsound.h>
-#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;