Skip to content

Commit

Permalink
BLUGA-GRAPHICS: Remove
Browse files Browse the repository at this point in the history
  • Loading branch information
Saverio976 committed Nov 1, 2023
1 parent 03489e7 commit 0649bd1
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions libs/B-luga-graphics/src/RaylibImpl/Audio/Audio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,67 +22,67 @@ namespace Raylib {
SetSoundVolume(_sound, volume);
}

bool SoundImpl::isReady() const override
bool SoundImpl::isReady() const
{
return IsSoundReady(_sound);
}

void SoundImpl::unload() override
void SoundImpl::unload()
{
UnloadSound(_sound);
}

void SoundImpl::play() const override
void SoundImpl::play() const
{
PlaySound(_sound);
}

void SoundImpl::stop() const override
void SoundImpl::stop() const
{
StopSound(_sound);
}

void SoundImpl::pause() const override
void SoundImpl::pause() const
{
PauseSound(_sound);
}

void SoundImpl::resume() const override
void SoundImpl::resume() const
{
ResumeSound(_sound);
}

bool SoundImpl::isPlaying() const override
bool SoundImpl::isPlaying() const
{
return IsSoundPlaying(_sound);
}

void SoundImpl::setVolume(float volume) const override
void SoundImpl::setVolume(float volume) const
{
SetSoundVolume(_sound, volume);
}

void SoundImpl::setPitch(float pitch) const override
void SoundImpl::setPitch(float pitch) const
{
SetSoundPitch(_sound, pitch);
}

void SoundImpl::setPan(float pan) const override
void SoundImpl::setPan(float pan) const
{
SetSoundPitch(_sound, pan);
}

bool SoundImpl::NeedToPlay() const override
bool SoundImpl::NeedToPlay() const
{
return _needToPlay;
}

void SoundImpl::setNeedToPlay(bool needToPlay) override
void SoundImpl::setNeedToPlay(bool needToPlay)
{
_needToPlay = needToPlay;
}

const std::string &SoundImpl::getPath() const override
const std::string &SoundImpl::getPath() const
{
return _path;
}
Expand All @@ -94,82 +94,82 @@ namespace Raylib {
SetMusicVolume(_music, volume);
}

void MusicImpl::unload() override
void MusicImpl::unload()
{
UnloadMusicStream(_music);
}

bool MusicImpl::isReady() const override
bool MusicImpl::isReady() const
{
return IsMusicReady(_music);
}

void MusicImpl::play() const override
void MusicImpl::play() const
{
PlayMusicStream(_music);
}

bool MusicImpl::isPlaying() const override
bool MusicImpl::isPlaying() const
{
return IsMusicStreamPlaying(_music);
}

void MusicImpl::update() const override
void MusicImpl::update() const
{
UpdateMusicStream(_music);
}

void MusicImpl::stop() const override
void MusicImpl::stop() const
{
StopMusicStream(_music);
}

void MusicImpl::pause() const override
void MusicImpl::pause() const
{
PauseMusicStream(_music);
}

void MusicImpl::resume() const override
void MusicImpl::resume() const
{
ResumeMusicStream(_music);
}

void MusicImpl::setVolume(float volume) const override
void MusicImpl::setVolume(float volume) const
{
SetMusicVolume(_music, volume);
}

void MusicImpl::setPitch(float pitch) const override
void MusicImpl::setPitch(float pitch) const
{
SetMusicPitch(_music, pitch);
}

void MusicImpl::setPan(float pan) const override
void MusicImpl::setPan(float pan) const
{
SetMusicPitch(_music, pan);
}

float MusicImpl::getTimeLength() const override
float MusicImpl::getTimeLength() const
{
return GetMusicTimeLength(_music);
}

float MusicImpl::getTimePlayed() const override
float MusicImpl::getTimePlayed() const
{
return GetMusicTimePlayed(_music);
}

bool MusicImpl::NeedToPlay() const override
bool MusicImpl::NeedToPlay() const
{
return _needToPlay;
}

void MusicImpl::setNeedToPlay(bool needToPlay) override
void MusicImpl::setNeedToPlay(bool needToPlay)
{
_needToPlay = needToPlay;
}

const std::string &MusicImpl::getPath() const override
const std::string &MusicImpl::getPath() const
{
return _path;
}
Expand Down

0 comments on commit 0649bd1

Please sign in to comment.