//----------------------------------------------------------------------------------
//
//----------------------------------------------------------------------------------
Sound* Sound::Create( IDirectSound8* dsound )
{
	SoundImplemented* sound = new SoundImplemented();
	if( sound->Initialize( dsound ) )
	{
		return sound;
	}
	return NULL;
}
//----------------------------------------------------------------------------------
//
//----------------------------------------------------------------------------------
Sound* Sound::Create( int32_t numVoices )
{
	SoundImplemented* sound = new SoundImplemented();
	if( sound->Initialize( numVoices ) )
	{
		return sound;
	}
	return NULL;
}