Max Kellermann
|
cd38aa3b2a
|
Merge branch 'v0.20.x'
|
2017-12-26 20:03:18 +01:00 |
|
Max Kellermann
|
98472a8104
|
pcm/SampleFormat: remove wrong "malloc" attribute
|
2017-12-23 08:38:22 +01:00 |
|
Max Kellermann
|
edee8a3446
|
Compiler.h: add gcc_returns_nonnull, gcc_returns_twice
|
2017-12-18 23:00:13 +01:00 |
|
Max Kellermann
|
dfaf08743c
|
*: check defined(_WIN32) instead of defined(WIN32)
Only _WIN32 is defined by the compiler, and WIN32 is not standardized
and may be missing.
Closes #169
|
2017-12-12 10:22:20 +01:00 |
|
Max Kellermann
|
71f0ed8b74
|
*: add "noexcept" to many, many function prototypes
This eliminates some overhead, because the compiler doesn't need to
consider these functions throwing.
|
2017-05-08 14:44:49 +02:00 |
|
Max Kellermann
|
a931686317
|
pcm/SampleFormat: workaround for GCC 4.9 "constexpr" bug
GCC 4.9 has incomplete C++14 support. Specifically, it doesn't allow
switch/case in "constexpr" functions.
|
2017-01-27 11:02:58 +01:00 |
|
Max Kellermann
|
3f321ae9a0
|
pcm/SampleFormat: make the two inline functions "constexpr"
|
2017-01-17 22:52:09 +01:00 |
|
Max Kellermann
|
de3e0585f1
|
AudioFormat: move enum SampleFormat to pcm/SampleFormat.hxx
|
2017-01-17 22:01:01 +01:00 |
|