Logo Search packages:      
Sourcecode: blender version File versions  Download package

AUD_NULLDevice.cpp

/*
 * $Id$
 *
 * ***** BEGIN LGPL LICENSE BLOCK *****
 *
 * Copyright 2009 Jörg Hermann Müller
 *
 * This file is part of AudaSpace.
 *
 * AudaSpace is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * AudaSpace 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 Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with AudaSpace.  If not, see <http://www.gnu.org/licenses/>.
 *
 * ***** END LGPL LICENSE BLOCK *****
 */

#include "AUD_NULLDevice.h"
#include "AUD_IReader.h"
#include "AUD_IFactory.h"

00030 AUD_NULLDevice::AUD_NULLDevice()
{
      m_specs.channels = AUD_CHANNELS_INVALID;
      m_specs.format = AUD_FORMAT_INVALID;
      m_specs.rate = AUD_RATE_INVALID;
}

00037 AUD_Specs AUD_NULLDevice::getSpecs()
{
      return m_specs;
}

00042 AUD_Handle* AUD_NULLDevice::play(AUD_IFactory* factory, bool keep)
{
      return 0;
}

00047 bool AUD_NULLDevice::pause(AUD_Handle* handle)
{
      return false;
}

00052 bool AUD_NULLDevice::resume(AUD_Handle* handle)
{
      return false;
}

00057 bool AUD_NULLDevice::stop(AUD_Handle* handle)
{
      return false;
}

00062 bool AUD_NULLDevice::setKeep(AUD_Handle* handle, bool keep)
{
      return false;
}

00067 bool AUD_NULLDevice::sendMessage(AUD_Handle* handle, AUD_Message &message)
{
      return false;
}

00072 bool AUD_NULLDevice::seek(AUD_Handle* handle, float position)
{
      return false;
}

00077 float AUD_NULLDevice::getPosition(AUD_Handle* handle)
{
      return 0.0f;
}

00082 AUD_Status AUD_NULLDevice::getStatus(AUD_Handle* handle)
{
      return AUD_STATUS_INVALID;
}

00087 void AUD_NULLDevice::lock()
{
}

00091 void AUD_NULLDevice::unlock()
{
}

00095 bool AUD_NULLDevice::checkCapability(int capability)
{
      return false;
}

00100 bool AUD_NULLDevice::setCapability(int capability, void *value)
{
      return false;
}

00105 bool AUD_NULLDevice::getCapability(int capability, void *value)
{
      return false;
}

Generated by  Doxygen 1.6.0   Back to index