From: Anders B. <vr-...@us...> - 2004-11-11 07:58:06
|
Update of /cvsroot/alpp/openalpp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31707 Modified Files: NEWS README Added Files: LICENSE.txt Log Message: Adapted smart (reference) pointers from the OpenSceneGraph library. Used with permission of Robert Osfield. Cleans up the new/delete responsibility. All objects must be created on the heap from now on. Fixed small bugin in Streaming classes. Index: README =================================================================== RCS file: /cvsroot/alpp/openalpp/README,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** README 2 Mar 2004 11:01:14 -0000 1.3 --- README 11 Nov 2004 07:57:56 -0000 1.4 *************** *** 5,9 **** * OpenAL++ was created using the libraries: * OpenAL (http://www.openal.org), ! * PortAudio (http://www.portaudio.com/), and * * This library is free software; you can redistribute it and/or --- 5,9 ---- * OpenAL++ was created using the libraries: * OpenAL (http://www.openal.org), ! * PortAudio (http://www.portaudio.com/) * * This library is free software; you can redistribute it and/or *************** *** 21,24 **** --- 21,27 ---- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ + + See also License.txt containing the OpenSceneGraph License information under which the + Reference and ref_ptr classes is used. OpenAL++ is an Object Oriented version of OpenAL. Index: NEWS =================================================================== RCS file: /cvsroot/alpp/openalpp/NEWS,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** NEWS 23 Sep 2004 06:42:49 -0000 1.4 --- NEWS 11 Nov 2004 07:57:56 -0000 1.5 *************** *** 1,4 **** --- 1,22 ---- NEWS + 2004-11-10 Anders Backman: + Major revision. Added referenced (smart) pointers to clean up the + responsibility of new/delete policy. This means that it is now not possible to create any instances of + Source, Streams, Sample, FileStreams at the stack. THey have to be created on the heap (using new). + This is to avoid memory polution. Whenever possible a openalpp::ref_ptr<> should be used to + store the allocated objects. + This ensures a clean and stable memory handling. See the examples for the changes. + Several methods now have pointer to a class instead of a reference to a class as arguments. + + For example: pSource->setSound(pSample) + + A bug in the FileStream class is fixed, playing ogg files using certain sound cards under windows was known to cause crashes. This should now work. Linux is still an issue, as openal is not thread safe under linux. + Whenever OpenAL have stable ogg support, it will be working in OpenAL++ + rewind, pause, is still unstable for streaming sounds. start() and stop() method should work just fine. + This in total, makes openal++ more stable and more useful than ever. + + + 2004-09-23 Anders Backman: Small fixes for the filestreaming class. --- NEW FILE: LICENSE.txt --- OpenSceneGraph Public License, Version 0.0 ========================================== Copyright (C) 2002 Robert Osfield. Everyone is permitted to copy and distribute verbatim copies of this licence document, but changing it is not allowed. OPENSCENEGRAPH PUBLIC LICENCE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION This library is free software; you can redistribute it and/or modify it under the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or later. Notes: the OSGPL is based on the LGPL, with the 4 exceptions laid in in the wxWindows section below. The LGPL in the final section of this license. ------------------------------------------------------------------------------- wxWindows Library Licence, Version 3 ==================================== Copyright (C) 1998 Julian Smart, Robert Roebling [, ...] Everyone is permitted to copy and distribute verbatim copies of this licence document, but changing it is not allowed. WXWINDOWS LIBRARY LICENCE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public Licence as published by the Free Software Foundation; either version 2 of the Licence, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public Licence for more details. You should have received a copy of the GNU Library General Public Licence along with this software, usually in a file named COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. EXCEPTION NOTICE 1. As a special exception, the copyright holders of this library give permission for additional uses of the text contained in this release of the library as licenced under the wxWindows Library Licence, applying either version 3 of the Licence, or (at your option) any later version of the Licence as published by the copyright holders of version 3 of the Licence document. 2. The exception is that you may use, copy, link, modify and distribute under the user's own terms, binary object code versions of works based on the Library. 3. If you copy code from files distributed under the terms of the GNU General Public Licence or the GNU Library General Public Licence into a copy of this library, as this licence permits, the exception does not apply to the code that you add in this way. To avoid misleading anyone as to the status of such modified files, you must delete this exception notice from such code and/or adjust the licensing conditions notice accordingly. 4. If you write modifications of your own for this library, it is your choice whether to permit this exception to apply to your modifications. If you do not wish that, you must delete the exception notice from such code and/or adjust the licensing conditions notice accordingly. ------------------------------------------------------------------------------ |