From b829170121d3657369904ec62d8065606777a9ce Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 1 Oct 2021 18:54:04 +0200 Subject: Removed doxygen generated docs They can be rebuild anytime and are considered a build artifact/binary. --- Doc/doxygen/html/_sound_card_8cpp_source.html | 220 -------------------------- 1 file changed, 220 deletions(-) delete mode 100644 Doc/doxygen/html/_sound_card_8cpp_source.html (limited to 'Doc/doxygen/html/_sound_card_8cpp_source.html') diff --git a/Doc/doxygen/html/_sound_card_8cpp_source.html b/Doc/doxygen/html/_sound_card_8cpp_source.html deleted file mode 100644 index adc129c..0000000 --- a/Doc/doxygen/html/_sound_card_8cpp_source.html +++ /dev/null @@ -1,220 +0,0 @@ - - - - - -Starshatter_Open: D:/SRC/StarshatterSVN/nGenEx/SoundCard.cpp Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
Starshatter_Open -
-
Open source Starshatter engine
-
-
- - - - - -
-
- -
-
-
- -
- - - - -
- -
- -
-
-
SoundCard.cpp
-
-
-Go to the documentation of this file.
1 /* Project nGenEx
-
2  Destroyer Studios LLC
-
3  Copyright © 1997-2004. All Rights Reserved.
-
4 
-
5  SUBSYSTEM: nGenEx.lib
-
6  FILE: SoundCard.cpp
-
7  AUTHOR: John DiCamillo
-
8 
-
9 
-
10  OVERVIEW
-
11  ========
-
12  Abstract sound card class
-
13 */
-
14 
-
15 #include "MemDebug.h"
-
16 #include "SoundCard.h"
-
17 #include "Sound.h"
-
18 
-
19 // +--------------------------------------------------------------------+
-
20 
-
21 DWORD WINAPI SoundCardUpdateProc(LPVOID link);
-
22 
-
23 // +--------------------------------------------------------------------+
-
24 
- -
26 : status(SC_UNINITIALIZED), hthread(0), shutdown(false)
-
27 {
-
28  DWORD thread_id = 0;
-
29  hthread = CreateThread(0, 4096, SoundCardUpdateProc,
-
30  (LPVOID) this, 0, &thread_id);
-
31 }
-
32 
-
33 // +--------------------------------------------------------------------+
-
34 
- -
36 {
-
37  shutdown = true;
-
38 
-
39  WaitForSingleObject(hthread, 500);
-
40  CloseHandle(hthread);
-
41  hthread = 0;
-
42 
-
43  sounds.destroy();
- -
45 }
-
46 
-
47 // +--------------------------------------------------------------------+
-
48 
-
49 DWORD WINAPI SoundCardUpdateProc(LPVOID link)
-
50 {
-
51  SoundCard* card = (SoundCard*) link;
-
52 
-
53  if (card)
-
54  return card->UpdateThread();
-
55 
-
56  return (DWORD) E_POINTER;
-
57 }
-
58 
-
59 // +--------------------------------------------------------------------+
-
60 
-
61 DWORD
- -
63 {
-
64  while (!shutdown) {
-
65  Update();
-
66  Sleep(50);
-
67  }
-
68 
-
69  return 0;
-
70 }
-
71 
-
72 // +--------------------------------------------------------------------+
-
73 
-
74 void
- -
76 {
- -
78 
-
79  ListIter<Sound> iter = sounds;
-
80  while (++iter) {
-
81  Sound* s = iter.value();
-
82 
-
83  s->Update();
-
84 
-
85  if (s->GetStatus() == Sound::DONE &&
-
86  !(s->GetFlags() & Sound::LOCKED)) {
-
87 
-
88  delete iter.removeItem();
-
89  }
-
90  }
-
91 }
-
92 
-
93 // +--------------------------------------------------------------------+
-
94 
-
95 void
- -
97 {
- -
99 
-
100  if (!sounds.contains(s))
-
101  sounds.append(s);
-
102 }
-
103 
-
-
- - - - -- cgit v1.1