From 1192cd1f8ac344d95a47f9d2cec0060206070175 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Wed, 27 Jun 2007 14:50:15 +0000 Subject: INTEGRATION: CWS impress122 (1.6.30); FILE MERGED 2007/06/14 09:58:24 cl 1.6.30.1: #i24969# enable to play sound over more than one slide and allow stop sound --- slideshow/source/engine/soundplayer.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'slideshow/source/engine/soundplayer.cxx') diff --git a/slideshow/source/engine/soundplayer.cxx b/slideshow/source/engine/soundplayer.cxx index aa6685dab3e8..94d165ae79cf 100644 --- a/slideshow/source/engine/soundplayer.cxx +++ b/slideshow/source/engine/soundplayer.cxx @@ -4,9 +4,9 @@ * * $RCSfile: soundplayer.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: kz $ $Date: 2006-12-13 15:20:54 $ + * last change: $Author: hr $ $Date: 2007-06-27 15:50:15 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -192,5 +192,10 @@ namespace slideshow return true; } + void SoundPlayer::setPlaybackLoop( bool bLoop ) + { + if( mxPlayer.is() ) + mxPlayer->setPlaybackLoop( bLoop ); + } } } -- cgit