diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-04-27 14:41:12 +0200 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-04-27 20:28:00 +0200 |
commit | 79d75557100b696a02c3341f2e5277900cb3c4df (patch) | |
tree | c54882460f8769032c4507e79d185944fb8c6932 /avmedia | |
parent | f0bd1c6980e52f212ed95820420acfd0bcdf3cca (diff) |
OGLPlayer: no sound of OpenGL models
Change-Id: I50277f315689006e6a824e61a6ba6929077b20a8
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/opengl/oglplayer.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/avmedia/source/opengl/oglplayer.cxx b/avmedia/source/opengl/oglplayer.cxx index 9d5f730cbc12..f6f8ab8b456a 100644 --- a/avmedia/source/opengl/oglplayer.cxx +++ b/avmedia/source/opengl/oglplayer.cxx @@ -158,27 +158,23 @@ sal_Bool SAL_CALL OGLPlayer::isPlaybackLoop() throw ( uno::RuntimeException, std void SAL_CALL OGLPlayer::setVolumeDB( sal_Int16 /*nVolumDB*/ ) throw ( uno::RuntimeException, std::exception ) { - osl::MutexGuard aGuard(m_aMutex); - // TODO: Set audio volume (see com::sun::star::media::XPlayer) + // OpenGL models have no sound. } sal_Int16 SAL_CALL OGLPlayer::getVolumeDB() throw ( uno::RuntimeException, std::exception ) { - osl::MutexGuard aGuard(m_aMutex); - // TODO: Get audio volume (see com::sun::star::media::XPlayer) + // OpenGL models have no sound. return 0; } void SAL_CALL OGLPlayer::setMute( sal_Bool /*bSet*/ ) throw ( uno::RuntimeException, std::exception ) { - osl::MutexGuard aGuard(m_aMutex); - // TODO: Set volume to 0 (see com::sun::star::media::XPlayer) + // OpenGL models have no sound. } sal_Bool SAL_CALL OGLPlayer::isMute() throw ( uno::RuntimeException, std::exception ) { - osl::MutexGuard aGuard(m_aMutex); - // TODO: Get whether volume is set to 0 by setMute (see com::sun::star::media::XPlayer) + // OpenGL models have no sound. return false; } |