Fixed initialization issue in Buffer.

This commit is contained in:
Thulinma 2012-05-14 17:38:31 +02:00
parent a1ac46093d
commit 9d8da4797f
3 changed files with 8 additions and 0 deletions

2
.gitignore vendored
View file

@ -1,5 +1,7 @@
#ignore object files and nonsense like that
*.[oa]
*.la
*.lo
*~
.deps
Makefile

4
README
View file

@ -3,3 +3,7 @@ http://wiki.mistserver.com/
Code contributions and bug reports are welcomed through:
https://github.com/DDVTECH/DMS
The following configure options are possible:
--enable-verbose = Compiles all applications in verbose mode, printing a lot more information to the screen than normally.
--disable-verbose = The opposite of above (default).

View file

@ -21,6 +21,8 @@ Buffer::Stream * Buffer::Stream::get(){
/// Creates a new DTSC::Stream object, private function so only one instance can exist.
Buffer::Stream::Stream(){
Strm = new DTSC::Stream(5);
readers = 0;
writers = 0;
}
/// Do cleanup on delete.