diff options
Diffstat (limited to 'src/sound/oalsound/channel.cpp')
-rw-r--r-- | src/sound/oalsound/channel.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/sound/oalsound/channel.cpp b/src/sound/oalsound/channel.cpp index 4d89df5..b053316 100644 --- a/src/sound/oalsound/channel.cpp +++ b/src/sound/oalsound/channel.cpp @@ -75,7 +75,7 @@ bool Channel::Play() } -bool Channel::SetPan(Math::Vector pos) +bool Channel::SetPosition(const Math::Vector &pos) { if (!m_ready || m_buffer == nullptr) { @@ -92,18 +92,6 @@ bool Channel::SetPan(Math::Vector pos) } -void Channel::SetPosition(Math::Vector pos) -{ - m_position = pos; -} - - -Math::Vector Channel::GetPosition() -{ - return m_position; -} - - bool Channel::SetFrequency(float freq) { if (!m_ready || m_buffer == nullptr) |