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
c8ec85d6
Commit
c8ec85d6
authored
Aug 15, 2012
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/fluidsynth: check if file is really a MIDI
Use fluid_is_midifile() to verify the file format.
parent
e291f3d2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
NEWS
NEWS
+1
-0
fluidsynth_decoder_plugin.c
src/decoder/fluidsynth_decoder_plugin.c
+1
-4
No files found.
NEWS
View file @
c8ec85d6
...
...
@@ -3,6 +3,7 @@ ver 0.17.2 (2012/??/??)
- fix crash in local file check
* decoder:
- fluidsynth: remove throttle (requires libfluidsynth 1.1)
- fluidsynth: check MIDI file format while scanning
* output:
- httpd: use monotonic clock, avoid hiccups after system clock adjustment
- httpd: fix throttling bug after resuming playback
...
...
src/decoder/fluidsynth_decoder_plugin.c
View file @
c8ec85d6
...
...
@@ -208,10 +208,7 @@ fluidsynth_scan_file(const char *file,
G_GNUC_UNUSED
const
struct
tag_handler
*
handler
,
G_GNUC_UNUSED
void
*
handler_ctx
)
{
/* to be implemented */
(
void
)
file
;
return
true
;
return
fluid_is_midifile
(
file
);
}
static
const
char
*
const
fluidsynth_suffixes
[]
=
{
...
...
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