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
a546bfe7
Commit
a546bfe7
authored
Aug 15, 2016
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/wildmidi: support libWildMidi 0.4
parent
25deae6c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
NEWS
NEWS
+2
-0
WildmidiDecoderPlugin.cxx
src/decoder/plugins/WildmidiDecoderPlugin.cxx
+7
-0
No files found.
NEWS
View file @
a546bfe7
ver 0.19.19 (not yet released)
* decoder
- wildmidi: support libWildMidi 0.4
* output
- pulse: support 32 bit, 24 bit and floating point playback
...
...
src/decoder/plugins/WildmidiDecoderPlugin.cxx
View file @
a546bfe7
...
...
@@ -68,7 +68,14 @@ wildmidi_finish(void)
static
DecoderCommand
wildmidi_output
(
Decoder
&
decoder
,
midi
*
wm
)
{
#ifdef LIBWILDMIDI_VER_MAJOR
/* WildMidi 0.4 has switched from "char*" to "int8_t*" */
int8_t
buffer
[
4096
];
#else
/* pre 0.4 */
char
buffer
[
4096
];
#endif
int
length
=
WildMidi_GetOutput
(
wm
,
buffer
,
sizeof
(
buffer
));
if
(
length
<=
0
)
return
DecoderCommand
::
STOP
;
...
...
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