Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
192ad910
Commit
192ad910
authored
Aug 06, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Plain Diff
Merge tag 'v0.21.13'
release v0.21.13
parents
91fb91d8
d4d2bc07
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
12 deletions
+14
-12
NEWS
NEWS
+8
-0
AndroidManifest.xml
android/AndroidManifest.xml
+2
-2
MadDecoderPlugin.cxx
src/decoder/plugins/MadDecoderPlugin.cxx
+3
-1
CdioParanoiaInputPlugin.cxx
src/input/plugins/CdioParanoiaInputPlugin.cxx
+0
-4
meson.build
src/input/plugins/meson.build
+1
-1
Paranoia.hxx
src/lib/cdio/Paranoia.hxx
+0
-4
No files found.
NEWS
View file @
192ad910
...
...
@@ -19,6 +19,14 @@ ver 0.22 (not yet released)
* switch to C++17
- GCC 7 or clang 4 (or newer) recommended
ver 0.21.13 (2019/08/06)
* input
- cdio_paranoia: require libcdio-paranoia 10.2+0.93+1
* decoder
- mad: fix crackling sound (0.21.12 regression)
* output
- jack: improved Windows compatibility
ver 0.21.12 (2019/08/03)
* decoder
- mad: update bit rate after seeking
...
...
android/AndroidManifest.xml
View file @
192ad910
...
...
@@ -2,8 +2,8 @@
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
package=
"org.musicpd"
android:installLocation=
"auto"
android:versionCode=
"3
5
"
android:versionName=
"0.21.1
2
"
>
android:versionCode=
"3
6
"
android:versionName=
"0.21.1
3
"
>
<uses-sdk
android:minSdkVersion=
"21"
android:targetSdkVersion=
"26"
/>
...
...
src/decoder/plugins/MadDecoderPlugin.cxx
View file @
192ad910
...
...
@@ -79,12 +79,14 @@ static inline int32_t
mad_fixed_to_24_sample
(
mad_fixed_t
sample
)
noexcept
{
static
constexpr
unsigned
bits
=
24
;
static
constexpr
mad_fixed_t
MIN
=
-
MAD_F_ONE
;
static
constexpr
mad_fixed_t
MAX
=
MAD_F_ONE
-
1
;
/* round */
sample
=
sample
+
(
1L
<<
(
MAD_F_FRACBITS
-
bits
));
/* quantize */
return
Clamp
(
sample
,
M
AD_F_MIN
,
MAD_F_
MAX
)
return
Clamp
(
sample
,
M
IN
,
MAX
)
>>
(
MAD_F_FRACBITS
+
1
-
bits
);
}
...
...
src/input/plugins/CdioParanoiaInputPlugin.cxx
View file @
192ad910
...
...
@@ -299,11 +299,7 @@ CdioParanoiaInputStream::Read(std::unique_lock<Mutex> &,
if
(
s_err
)
{
FormatError
(
cdio_domain
,
"paranoia_read: %s"
,
s_err
);
#if LIBCDIO_VERSION_NUM >= 90
cdio_cddap_free_messages
(
s_err
);
#else
free
(
s_err
);
#endif
}
throw
;
...
...
src/input/plugins/meson.build
View file @
192ad910
...
...
@@ -6,7 +6,7 @@ if alsa_dep.found()
input_plugins_sources += 'AlsaInputPlugin.cxx'
endif
libcdio_paranoia_dep = dependency('libcdio_paranoia', version: '>=
0.4
', required: get_option('cdio_paranoia'))
libcdio_paranoia_dep = dependency('libcdio_paranoia', version: '>=
10.2+0.93+1
', required: get_option('cdio_paranoia'))
conf.set('ENABLE_CDIO_PARANOIA', libcdio_paranoia_dep.found())
if libcdio_paranoia_dep.found()
input_plugins_sources += 'CdioParanoiaInputPlugin.cxx'
...
...
src/lib/cdio/Paranoia.hxx
View file @
192ad910
...
...
@@ -34,11 +34,7 @@
#include "util/Compiler.h"
#include <cdio/version.h>
#if LIBCDIO_VERSION_NUM >= 90
#include <cdio/paranoia/paranoia.h>
#else
#include <cdio/paranoia.h>
#endif
#include <stdexcept>
#include <utility>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment