summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-11-09 15:48:26 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-11-09 15:48:26 +0000
commit44506d8c2a1ee9b9104ea0ee469f97a4362435e0 (patch)
treeaee50b64938762029a61ba0d444301e939892162 /vcl
parentad1ccd71c01c37e5d8b6af87a6c71af5156d2c98 (diff)
INTEGRATION: CWS vcl28 (1.22.110); FILE MERGED
2004/10/06 16:01:50 pl 1.22.110.1: #i35057# add: sndfile, portaudio
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/source/app/salinst.cxx15
1 files changed, 13 insertions, 2 deletions
diff --git a/vcl/unx/source/app/salinst.cxx b/vcl/unx/source/app/salinst.cxx
index ad505a203963..b0e79026c518 100644
--- a/vcl/unx/source/app/salinst.cxx
+++ b/vcl/unx/source/app/salinst.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: salinst.cxx,v $
*
- * $Revision: 1.22 $
+ * $Revision: 1.23 $
*
- * last change: $Author: hr $ $Date: 2004-05-10 15:57:05 $
+ * last change: $Author: hr $ $Date: 2004-11-09 16:48:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -98,6 +98,9 @@
#ifndef _SV_SALOGL_H
#include <salogl.h>
#endif
+#ifndef _SV_SALSOUND_H
+#include <salsound.h>
+#endif
// -------------------------------------------------------------------------
//
@@ -165,6 +168,9 @@ extern "C"
X11SalInstance::~X11SalInstance()
{
+ // deinitialize global sound resources
+ X11SalSound::Release();
+
// eventually free OpenGL lib
X11SalOpenGL::Release();
@@ -333,3 +339,8 @@ SalOpenGL* X11SalInstance::CreateSalOpenGL( SalGraphics* pGraphics )
return new X11SalOpenGL( pGraphics );
}
+SalSound* X11SalInstance::CreateSalSound()
+{
+ return new X11SalSound();
+}
+