Updated documentation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1239 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
49ebb40c4d
commit
1f3d7b6d0c
52 changed files with 2077 additions and 2021 deletions
|
@ -53,7 +53,7 @@ public :
|
|||
/// Construct the music with a buffer size
|
||||
///
|
||||
/// \param bufferSize : Size of the internal buffer, expressed in number of samples
|
||||
/// (ie. size taken by the music in memory) (44100 by default)
|
||||
/// (ie. size taken by the music in memory)
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
Music(std::size_t bufferSize = 44100);
|
||||
|
|
|
@ -65,11 +65,11 @@ public :
|
|||
////////////////////////////////////////////////////////////
|
||||
/// Construct the sound from its parameters
|
||||
///
|
||||
/// \param buffer : Sound buffer to play (NULL by default)
|
||||
/// \param loop : Loop flag (false by default)
|
||||
/// \param pitch : Value of the pitch (1 by default)
|
||||
/// \param volume : Volume (100 by default)
|
||||
/// \param position : Position (0, 0, 0 by default)
|
||||
/// \param buffer : Sound buffer to play
|
||||
/// \param loop : Loop flag
|
||||
/// \param pitch : Value of the pitch
|
||||
/// \param volume : Volume
|
||||
/// \param position : Position
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
Sound(const SoundBuffer& buffer, bool loop = false, float pitch = 1.f, float volume = 100.f, const Vector3f& position = Vector3f(0, 0, 0));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue