Skip to content

Commit 25b1cb7

Browse files
committed
Vendor libraries update
1 parent 809d0e9 commit 25b1cb7

File tree

378 files changed

+7356
-17463
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

378 files changed

+7356
-17463
lines changed
File renamed without changes.

vendor/SFML/bin/sfml-audio-2.dll

996 KB
Binary file not shown.

vendor/SFML/bin/sfml-audio-d-2.dll

1.56 MB
Binary file not shown.

vendor/SFML/bin/sfml-graphics-2.dll

889 KB
Binary file not shown.

vendor/SFML/bin/sfml-graphics-d-2.dll

1.9 MB
Binary file not shown.

vendor/SFML/bin/sfml-system-2.dll

50.5 KB
Binary file not shown.

vendor/SFML/bin/sfml-system-d-2.dll

220 KB
Binary file not shown.

vendor/SFML/bin/sfml-window-2.dll

143 KB
Binary file not shown.

vendor/SFML/bin/sfml-window-d-2.dll

531 KB
Binary file not shown.

vendor/SFML/bin/win64/sfml-2-d.dll

-3.52 MB
Binary file not shown.

vendor/SFML/bin/win64/sfml-2.dll

-1.8 MB
Binary file not shown.

vendor/SFML/include/SFML/Audio.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
////////////////////////////////////////////////////////////
22
//
33
// SFML - Simple and Fast Multimedia Library
4-
// Copyright (C) 2007-2018 Laurent Gomila ([email protected])
4+
// Copyright (C) 2007-2023 Laurent Gomila ([email protected])
55
//
66
// This software is provided 'as-is', without any express or implied warranty.
77
// In no event will the authors be held liable for any damages arising from the use of this software.

vendor/SFML/include/SFML/Audio/AlResource.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
////////////////////////////////////////////////////////////
22
//
33
// SFML - Simple and Fast Multimedia Library
4-
// Copyright (C) 2007-2018 Laurent Gomila ([email protected])
4+
// Copyright (C) 2007-2023 Laurent Gomila ([email protected])
55
//
66
// This software is provided 'as-is', without any express or implied warranty.
77
// In no event will the authors be held liable for any damages arising from the use of this software.

vendor/SFML/include/SFML/Audio/Export.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
////////////////////////////////////////////////////////////
22
//
33
// SFML - Simple and Fast Multimedia Library
4-
// Copyright (C) 2007-2018 Laurent Gomila ([email protected])
4+
// Copyright (C) 2007-2023 Laurent Gomila ([email protected])
55
//
66
// This software is provided 'as-is', without any express or implied warranty.
77
// In no event will the authors be held liable for any damages arising from the use of this software.

vendor/SFML/include/SFML/Audio/InputSoundFile.hpp

+17-12
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
////////////////////////////////////////////////////////////
22
//
33
// SFML - Simple and Fast Multimedia Library
4-
// Copyright (C) 2007-2018 Laurent Gomila ([email protected])
4+
// Copyright (C) 2007-2023 Laurent Gomila ([email protected])
55
//
66
// This software is provided 'as-is', without any express or implied warranty.
77
// In no event will the authors be held liable for any damages arising from the use of this software.
@@ -32,7 +32,7 @@
3232
#include <SFML/System/NonCopyable.hpp>
3333
#include <SFML/System/Time.hpp>
3434
#include <string>
35-
#include <algorithm>
35+
#include <cstddef>
3636

3737

3838
namespace sf
@@ -63,9 +63,14 @@ class SFML_AUDIO_API InputSoundFile : NonCopyable
6363
////////////////////////////////////////////////////////////
6464
/// \brief Open a sound file from the disk for reading
6565
///
66-
/// The supported audio formats are: WAV (PCM only), OGG/Vorbis, FLAC.
66+
/// The supported audio formats are: WAV (PCM only), OGG/Vorbis, FLAC, MP3.
6767
/// The supported sample sizes for FLAC and WAV are 8, 16, 24 and 32 bit.
6868
///
69+
/// Because of minimp3_ex limitation, for MP3 files with big (>16kb) APEv2 tag,
70+
/// it may not be properly removed, tag data will be treated as MP3 data
71+
/// and there is a low chance of garbage decoded at the end of file.
72+
/// See also: https://github.com/lieff/minimp3
73+
///
6974
/// \param filename Path of the sound file to load
7075
///
7176
/// \return True if the file was successfully opened
@@ -195,24 +200,24 @@ class SFML_AUDIO_API InputSoundFile : NonCopyable
195200
////////////////////////////////////////////////////////////
196201
Uint64 read(Int16* samples, Uint64 maxCount);
197202

198-
private:
199-
200203
////////////////////////////////////////////////////////////
201204
/// \brief Close the current file
202205
///
203206
////////////////////////////////////////////////////////////
204207
void close();
205208

209+
private:
210+
206211
////////////////////////////////////////////////////////////
207212
// Member data
208213
////////////////////////////////////////////////////////////
209-
SoundFileReader* m_reader; ///< Reader that handles I/O on the file's format
210-
InputStream* m_stream; ///< Input stream used to access the file's data
211-
bool m_streamOwned; ///< Is the stream internal or external?
212-
Uint64 m_sampleOffset; ///< Sample Read Position
213-
Uint64 m_sampleCount; ///< Total number of samples in the file
214-
unsigned int m_channelCount; ///< Number of channels of the sound
215-
unsigned int m_sampleRate; ///< Number of samples per second
214+
SoundFileReader* m_reader; //!< Reader that handles I/O on the file's format
215+
InputStream* m_stream; //!< Input stream used to access the file's data
216+
bool m_streamOwned; //!< Is the stream internal or external?
217+
Uint64 m_sampleOffset; //!< Sample Read Position
218+
Uint64 m_sampleCount; //!< Total number of samples in the file
219+
unsigned int m_channelCount; //!< Number of channels of the sound
220+
unsigned int m_sampleRate; //!< Number of samples per second
216221
};
217222

218223
} // namespace sf

vendor/SFML/include/SFML/Audio/Listener.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
////////////////////////////////////////////////////////////
22
//
33
// SFML - Simple and Fast Multimedia Library
4-
// Copyright (C) 2007-2018 Laurent Gomila ([email protected])
4+
// Copyright (C) 2007-2023 Laurent Gomila ([email protected])
55
//
66
// This software is provided 'as-is', without any express or implied warranty.
77
// In no event will the authors be held liable for any damages arising from the use of this software.

vendor/SFML/include/SFML/Audio/Music.hpp

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
////////////////////////////////////////////////////////////
22
//
33
// SFML - Simple and Fast Multimedia Library
4-
// Copyright (C) 2007-2018 Laurent Gomila ([email protected])
4+
// Copyright (C) 2007-2023 Laurent Gomila ([email protected])
55
//
66
// This software is provided 'as-is', without any express or implied warranty.
77
// In no event will the authors be held liable for any damages arising from the use of this software.
@@ -79,8 +79,8 @@ class SFML_AUDIO_API Music : public SoundStream
7979

8080
}
8181

82-
T offset; ///< The beginning offset of the time range
83-
T length; ///< The length of the time range
82+
T offset; //!< The beginning offset of the time range
83+
T length; //!< The length of the time range
8484
};
8585

8686
// Define the relevant Span types
@@ -189,11 +189,11 @@ class SFML_AUDIO_API Music : public SoundStream
189189
TimeSpan getLoopPoints() const;
190190

191191
////////////////////////////////////////////////////////////
192-
/// \brief Sets the beginning and end of the sound's looping sequence using sf::Time
192+
/// \brief Sets the beginning and duration of the sound's looping sequence using sf::Time
193193
///
194-
/// Loop points allow one to specify a pair of positions such that, when the music
194+
/// setLoopPoints() allows for specifying the beginning offset and the duration of the loop such that, when the music
195195
/// is enabled for looping, it will seamlessly seek to the beginning whenever it
196-
/// encounters the end. Valid ranges for timePoints.offset and timePoints.length are
196+
/// encounters the end of the duration. Valid ranges for timePoints.offset and timePoints.length are
197197
/// [0, Dur) and (0, Dur-offset] respectively, where Dur is the value returned by getDuration().
198198
/// Note that the EOF "loop point" from the end to the beginning of the stream is still honored,
199199
/// in case the caller seeks to a point after the end of the loop range. This function can be
@@ -276,10 +276,10 @@ class SFML_AUDIO_API Music : public SoundStream
276276
////////////////////////////////////////////////////////////
277277
// Member data
278278
////////////////////////////////////////////////////////////
279-
InputSoundFile m_file; ///< The streamed music file
280-
std::vector<Int16> m_samples; ///< Temporary buffer of samples
281-
Mutex m_mutex; ///< Mutex protecting the data
282-
Span<Uint64> m_loopSpan; ///< Loop Range Specifier
279+
InputSoundFile m_file; //!< The streamed music file
280+
std::vector<Int16> m_samples; //!< Temporary buffer of samples
281+
Mutex m_mutex; //!< Mutex protecting the data
282+
Span<Uint64> m_loopSpan; //!< Loop Range Specifier
283283
};
284284

285285
} // namespace sf

vendor/SFML/include/SFML/Audio/OutputSoundFile.hpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
////////////////////////////////////////////////////////////
22
//
33
// SFML - Simple and Fast Multimedia Library
4-
// Copyright (C) 2007-2018 Laurent Gomila ([email protected])
4+
// Copyright (C) 2007-2023 Laurent Gomila ([email protected])
55
//
66
// This software is provided 'as-is', without any express or implied warranty.
77
// In no event will the authors be held liable for any damages arising from the use of this software.
@@ -82,18 +82,18 @@ class SFML_AUDIO_API OutputSoundFile : NonCopyable
8282
////////////////////////////////////////////////////////////
8383
void write(const Int16* samples, Uint64 count);
8484

85-
private:
86-
8785
////////////////////////////////////////////////////////////
8886
/// \brief Close the current file
8987
///
9088
////////////////////////////////////////////////////////////
9189
void close();
9290

91+
private:
92+
9393
////////////////////////////////////////////////////////////
9494
// Member data
9595
////////////////////////////////////////////////////////////
96-
SoundFileWriter* m_writer; ///< Writer that handles I/O on the file's format
96+
SoundFileWriter* m_writer; //!< Writer that handles I/O on the file's format
9797
};
9898

9999
} // namespace sf

vendor/SFML/include/SFML/Audio/Sound.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
////////////////////////////////////////////////////////////
22
//
33
// SFML - Simple and Fast Multimedia Library
4-
// Copyright (C) 2007-2018 Laurent Gomila ([email protected])
4+
// Copyright (C) 2007-2023 Laurent Gomila ([email protected])
55
//
66
// This software is provided 'as-is', without any express or implied warranty.
77
// In no event will the authors be held liable for any damages arising from the use of this software.
@@ -217,7 +217,7 @@ class SFML_AUDIO_API Sound : public SoundSource
217217
////////////////////////////////////////////////////////////
218218
// Member data
219219
////////////////////////////////////////////////////////////
220-
const SoundBuffer* m_buffer; ///< Sound buffer bound to the source
220+
const SoundBuffer* m_buffer; //!< Sound buffer bound to the source
221221
};
222222

223223
} // namespace sf

vendor/SFML/include/SFML/Audio/SoundBuffer.hpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
////////////////////////////////////////////////////////////
22
//
33
// SFML - Simple and Fast Multimedia Library
4-
// Copyright (C) 2007-2018 Laurent Gomila ([email protected])
4+
// Copyright (C) 2007-2023 Laurent Gomila ([email protected])
55
//
66
// This software is provided 'as-is', without any express or implied warranty.
77
// In no event will the authors be held liable for any damages arising from the use of this software.
@@ -267,15 +267,15 @@ class SFML_AUDIO_API SoundBuffer : AlResource
267267
////////////////////////////////////////////////////////////
268268
// Types
269269
////////////////////////////////////////////////////////////
270-
typedef std::set<Sound*> SoundList; ///< Set of unique sound instances
270+
typedef std::set<Sound*> SoundList; //!< Set of unique sound instances
271271

272272
////////////////////////////////////////////////////////////
273273
// Member data
274274
////////////////////////////////////////////////////////////
275-
unsigned int m_buffer; ///< OpenAL buffer identifier
276-
std::vector<Int16> m_samples; ///< Samples buffer
277-
Time m_duration; ///< Sound duration
278-
mutable SoundList m_sounds; ///< List of sounds that are using this buffer
275+
unsigned int m_buffer; //!< OpenAL buffer identifier
276+
std::vector<Int16> m_samples; //!< Samples buffer
277+
Time m_duration; //!< Sound duration
278+
mutable SoundList m_sounds; //!< List of sounds that are using this buffer
279279
};
280280

281281
} // namespace sf

vendor/SFML/include/SFML/Audio/SoundBufferRecorder.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
////////////////////////////////////////////////////////////
22
//
33
// SFML - Simple and Fast Multimedia Library
4-
// Copyright (C) 2007-2018 Laurent Gomila ([email protected])
4+
// Copyright (C) 2007-2023 Laurent Gomila ([email protected])
55
//
66
// This software is provided 'as-is', without any express or implied warranty.
77
// In no event will the authors be held liable for any damages arising from the use of this software.
@@ -96,8 +96,8 @@ class SFML_AUDIO_API SoundBufferRecorder : public SoundRecorder
9696
////////////////////////////////////////////////////////////
9797
// Member data
9898
////////////////////////////////////////////////////////////
99-
std::vector<Int16> m_samples; ///< Temporary sample buffer to hold the recorded data
100-
SoundBuffer m_buffer; ///< Sound buffer that will contain the recorded data
99+
std::vector<Int16> m_samples; //!< Temporary sample buffer to hold the recorded data
100+
SoundBuffer m_buffer; //!< Sound buffer that will contain the recorded data
101101
};
102102

103103
} // namespace sf

vendor/SFML/include/SFML/Audio/SoundFileFactory.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
////////////////////////////////////////////////////////////
22
//
33
// SFML - Simple and Fast Multimedia Library
4-
// Copyright (C) 2007-2018 Laurent Gomila ([email protected])
4+
// Copyright (C) 2007-2023 Laurent Gomila ([email protected])
55
//
66
// This software is provided 'as-is', without any express or implied warranty.
77
// In no event will the authors be held liable for any damages arising from the use of this software.
@@ -160,8 +160,8 @@ class SFML_AUDIO_API SoundFileFactory
160160
////////////////////////////////////////////////////////////
161161
// Static member data
162162
////////////////////////////////////////////////////////////
163-
static ReaderFactoryArray s_readers; ///< List of all registered readers
164-
static WriterFactoryArray s_writers; ///< List of all registered writers
163+
static ReaderFactoryArray s_readers; //!< List of all registered readers
164+
static WriterFactoryArray s_writers; //!< List of all registered writers
165165
};
166166

167167
} // namespace sf

vendor/SFML/include/SFML/Audio/SoundFileFactory.inl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
////////////////////////////////////////////////////////////
22
//
33
// SFML - Simple and Fast Multimedia Library
4-
// Copyright (C) 2007-2018 Laurent Gomila ([email protected])
4+
// Copyright (C) 2007-2023 Laurent Gomila ([email protected])
55
//
66
// This software is provided 'as-is', without any express or implied warranty.
77
// In no event will the authors be held liable for any damages arising from the use of this software.

vendor/SFML/include/SFML/Audio/SoundFileReader.hpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
////////////////////////////////////////////////////////////
22
//
33
// SFML - Simple and Fast Multimedia Library
4-
// Copyright (C) 2007-2018 Laurent Gomila ([email protected])
4+
// Copyright (C) 2007-2023 Laurent Gomila ([email protected])
55
//
66
// This software is provided 'as-is', without any express or implied warranty.
77
// In no event will the authors be held liable for any damages arising from the use of this software.
@@ -50,9 +50,9 @@ class SFML_AUDIO_API SoundFileReader
5050
////////////////////////////////////////////////////////////
5151
struct Info
5252
{
53-
Uint64 sampleCount; ///< Total number of samples in the file
54-
unsigned int channelCount; ///< Number of channels of the sound
55-
unsigned int sampleRate; ///< Samples rate of the sound, in samples per second
53+
Uint64 sampleCount; //!< Total number of samples in the file
54+
unsigned int channelCount; //!< Number of channels of the sound
55+
unsigned int sampleRate; //!< Samples rate of the sound, in samples per second
5656
};
5757

5858
////////////////////////////////////////////////////////////

vendor/SFML/include/SFML/Audio/SoundFileWriter.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
////////////////////////////////////////////////////////////
22
//
33
// SFML - Simple and Fast Multimedia Library
4-
// Copyright (C) 2007-2018 Laurent Gomila ([email protected])
4+
// Copyright (C) 2007-2023 Laurent Gomila ([email protected])
55
//
66
// This software is provided 'as-is', without any express or implied warranty.
77
// In no event will the authors be held liable for any damages arising from the use of this software.

vendor/SFML/include/SFML/Audio/SoundRecorder.hpp

+12-10
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
////////////////////////////////////////////////////////////
22
//
33
// SFML - Simple and Fast Multimedia Library
4-
// Copyright (C) 2007-2018 Laurent Gomila ([email protected])
4+
// Copyright (C) 2007-2023 Laurent Gomila ([email protected])
55
//
66
// This software is provided 'as-is', without any express or implied warranty.
77
// In no event will the authors be held liable for any damages arising from the use of this software.
@@ -285,13 +285,13 @@ class SFML_AUDIO_API SoundRecorder : AlResource
285285
////////////////////////////////////////////////////////////
286286
// Member data
287287
////////////////////////////////////////////////////////////
288-
Thread m_thread; ///< Thread running the background recording task
289-
std::vector<Int16> m_samples; ///< Buffer to store captured samples
290-
unsigned int m_sampleRate; ///< Sample rate
291-
Time m_processingInterval; ///< Time period between calls to onProcessSamples
292-
bool m_isCapturing; ///< Capturing state
293-
std::string m_deviceName; ///< Name of the audio capture device
294-
unsigned int m_channelCount; ///< Number of recording channels
288+
Thread m_thread; //!< Thread running the background recording task
289+
std::vector<Int16> m_samples; //!< Buffer to store captured samples
290+
unsigned int m_sampleRate; //!< Sample rate
291+
Time m_processingInterval; //!< Time period between calls to onProcessSamples
292+
bool m_isCapturing; //!< Capturing state
293+
std::string m_deviceName; //!< Name of the audio capture device
294+
unsigned int m_channelCount; //!< Number of recording channels
295295
};
296296

297297
} // namespace sf
@@ -359,12 +359,14 @@ class SFML_AUDIO_API SoundRecorder : AlResource
359359
/// \code
360360
/// class CustomRecorder : public sf::SoundRecorder
361361
/// {
362+
/// public:
362363
/// ~CustomRecorder()
363364
/// {
364365
/// // Make sure to stop the recording thread
365366
/// stop();
366367
/// }
367368
///
369+
/// private:
368370
/// virtual bool onStart() // optional
369371
/// {
370372
/// // Initialize whatever has to be done before the capture starts
@@ -374,7 +376,7 @@ class SFML_AUDIO_API SoundRecorder : AlResource
374376
/// return true;
375377
/// }
376378
///
377-
/// virtual bool onProcessSamples(const Int16* samples, std::size_t sampleCount)
379+
/// virtual bool onProcessSamples(const sf::Int16* samples, std::size_t sampleCount)
378380
/// {
379381
/// // Do something with the new chunk of samples (store them, send them, ...)
380382
/// ...
@@ -388,7 +390,7 @@ class SFML_AUDIO_API SoundRecorder : AlResource
388390
/// // Clean up whatever has to be done after the capture ends
389391
/// ...
390392
/// }
391-
/// }
393+
/// };
392394
///
393395
/// // Usage
394396
/// if (CustomRecorder::isAvailable())

0 commit comments

Comments
 (0)