fixed some bugs in SoundStream
property style functions for SoundStream and SoundSource fixed pong and soundstream samples: thx AndrejM! git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1552 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
dda69de7e9
commit
64b4bd8472
4 changed files with 79 additions and 70 deletions
|
@ -173,7 +173,7 @@ public:
|
|||
* Returns:
|
||||
* Position of the sound
|
||||
*/
|
||||
Vector3f getPosition()
|
||||
Vector3f position()
|
||||
{
|
||||
Vector3f ret;
|
||||
sfSoundSource_GetPosition(m_ptr, &ret.x, &ret.y, &ret.z);
|
||||
|
@ -279,7 +279,7 @@ public:
|
|||
{
|
||||
return sfSoundSource_GetAttenuation(m_ptr);
|
||||
}
|
||||
}
|
||||
} // of @property
|
||||
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue