Changed internal naming convention (local variables now start with a lower case character)
Removed the AudioResource class git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1166 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
7cc00085d8
commit
45b150648d
245 changed files with 7865 additions and 8065 deletions
|
@ -52,11 +52,11 @@ public :
|
|||
/// Start the capture.
|
||||
/// Warning : only one capture can happen at the same time
|
||||
///
|
||||
/// \param SampleRate : Sound frequency (the more samples, the higher the quality)
|
||||
/// \param sampleRate : Sound frequency (the more samples, the higher the quality)
|
||||
/// (44100 by default = CD quality)
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
void Start(unsigned int SampleRate = 44100);
|
||||
void Start(unsigned int sampleRate = 44100);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// Stop the capture
|
||||
|
@ -102,13 +102,13 @@ private :
|
|||
////////////////////////////////////////////////////////////
|
||||
/// Process a new chunk of recorded samples
|
||||
///
|
||||
/// \param Samples : Pointer to the new chunk of recorded samples
|
||||
/// \param SamplesCount : Number of samples pointed by Samples
|
||||
/// \param samples : Pointer to the new chunk of recorded samples
|
||||
/// \param samplesCount : Number of samples pointed by Samples
|
||||
///
|
||||
/// \return False to stop recording audio data, true to continue
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
virtual bool OnProcessSamples(const Int16* Samples, std::size_t SamplesCount) = 0;
|
||||
virtual bool OnProcessSamples(const Int16* samples, std::size_t samplesCount) = 0;
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// Stop recording audio data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue