/*** Copyright (c) 2006-2012 LOVE Development Team** This software is provided 'as-is', without any express or implied* warranty. In no event will the authors be held liable for any damages* arising from the use of this software.** Permission is granted to anyone to use this software for any purpose,* including commercial applications, and to alter it and redistribute it* freely, subject to the following restrictions:** 1. The origin of this software must not be misrepresented; you must not* claim that you wrote the original software. If you use this software* in a product, an acknowledgment in the product documentation would be* appreciated but is not required.* 2. Altered source versions must be plainly marked as such, and must not be* misrepresented as being the original software.* 3. This notice may not be removed or altered from any source distribution.**/#include "Source.h"namespacelove{namespaceaudio{namespacenull{Source::Source():love::audio::Source(Source::TYPE_STATIC){}Source::~Source(){}love::audio::Source*Source::copy(){this->retain();returnthis;}voidSource::play(){}voidSource::stop(){}voidSource::pause(){}voidSource::resume(){}voidSource::rewind(){}boolSource::isStopped()const{returntrue;}boolSource::isPaused()const{returnfalse;}boolSource::isFinished()const{returntrue;}boolSource::update(){returnfalse;}voidSource::setPitch(floatpitch){this->pitch=pitch;}floatSource::getPitch()const{returnpitch;}voidSource::setVolume(floatvolume){this->volume=volume;}floatSource::getVolume()const{returnvolume;}voidSource::seek(float,Source::Unit){}floatSource::tell(Source::Unit){return0.0f;}voidSource::setPosition(float*){}voidSource::getPosition(float*)const{}voidSource::setVelocity(float*){}voidSource::getVelocity(float*)const{}voidSource::setDirection(float*){}voidSource::getDirection(float*)const{}voidSource::setLooping(boollooping){this->looping=looping;}boolSource::isLooping()const{returnlooping;}boolSource::isStatic()const{return(type==TYPE_STATIC);}voidSource::setMinVolume(floatvolume){this->minVolume=volume;}floatSource::getMinVolume()const{returnthis->minVolume;}voidSource::setMaxVolume(floatvolume){this->maxVolume=volume;}floatSource::getMaxVolume()const{returnthis->maxVolume;}voidSource::setReferenceDistance(floatdistance){this->referenceDistance=distance;}floatSource::getReferenceDistance()const{returnthis->referenceDistance;}voidSource::setRolloffFactor(floatfactor){this->rolloffFactor=factor;}floatSource::getRolloffFactor()const{returnthis->rolloffFactor;}voidSource::setMaxDistance(floatdistance){this->maxDistance=distance;}floatSource::getMaxDistance()const{returnthis->maxDistance;}}// null}// audio}// love