]> git.sesse.net Git - vlc/blobdiff - bindings/libvlcpp/src/audio.cpp
Move C++ binding to a new repository vlc/bindings/libvlcpp.git
[vlc] / bindings / libvlcpp / src / audio.cpp
diff --git a/bindings/libvlcpp/src/audio.cpp b/bindings/libvlcpp/src/audio.cpp
deleted file mode 100644 (file)
index d829ec1..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-/*****************************************************************************
- * audio.cpp: audio part of the media player
- *****************************************************************************
- * Copyright (C) 2010 the VideoLAN team
- * $Id$
- *
- * Authors: RĂ©mi Duraffort <ivoire@videolan.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
- *****************************************************************************/
-
-#include "audio.hpp"
-
-
-using namespace libvlc;
-
-Audio::Audio()
-{
-}
-
-Audio::~Audio()
-{
-    libvlc_media_player_release( m_player );
-}
-
-void Audio::toggleMute()
-{
-    libvlc_audio_toggle_mute( m_player );
-}
-
-int Audio::mute()
-{
-    return libvlc_audio_get_mute( m_player );
-}
-
-void Audio::setMute( int mute )
-{
-    libvlc_audio_set_mute( m_player, mute );
-}
-
-int Audio::volume()
-{
-    return libvlc_audio_get_volume( m_player );
-}
-
-void Audio::setVolume( int volume )
-{
-    libvlc_audio_set_volume( m_player, volume );
-}
-
-int Audio::track()
-{
-    return libvlc_audio_get_track( m_player );
-}
-
-int Audio::trackCount()
-{
-    return libvlc_audio_get_track_count( m_player );
-}
-
-void Audio::setTrack( int track )
-{
-    libvlc_audio_set_track( m_player, track );
-}
-
-void Audio::setMediaPlayer( libvlc_media_player_t *player )
-{
-    libvlc_media_player_retain( player );
-    m_player = player;
-}