changed map and list templates to be more useable, however, they will

be rewritten soon. Changed debugging macros and use of them, too.
Also replaced the linked lists in the BufferManager (which were complicated,
but working ok) with template based ones.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2133 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper
2002-12-03 00:59:42 +00:00
parent 68bb610bbc
commit 353b9f6bce
26 changed files with 297 additions and 253 deletions
+3 -3
View File
@@ -63,7 +63,7 @@ BTrackReader::BTrackReader(BFile *file, media_raw_audio_format const &format) :
int count = fMediaFile->CountTracks();
if (count == 0) {
TRACE("no tracks in file\n");
FATAL("BTrackReader: no tracks in file\n");
return;
}
@@ -84,7 +84,7 @@ BTrackReader::BTrackReader(BFile *file, media_raw_audio_format const &format) :
fMediaFile->ReleaseTrack(track);
}
if (audiotrack == 0) {
TRACE("no audio track in file\n");
FATAL("BTrackReader: no audio track in file\n");
return;
}
@@ -135,7 +135,7 @@ BTrackReader::SetToTrack(BMediaTrack *track)
}
//we have failed
TRACE("BTrackReader::SetToTrack failed\n");
FATAL("BTrackReader::SetToTrack failed\n");
}
BTrackReader::~BTrackReader()