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
7537722a
Commit
7537722a
authored
Jul 26, 2012
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cue_parser: support file types "MP3", "AIFF"
These two strings are common "FILE" types.
parent
4ebd6919
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
NEWS
NEWS
+2
-0
cue_parser.c
src/cue/cue_parser.c
+3
-1
No files found.
NEWS
View file @
7537722a
...
@@ -3,6 +3,8 @@ ver 0.17.1 (2012/??/??)
...
@@ -3,6 +3,8 @@ ver 0.17.1 (2012/??/??)
- require appropriate permissions for searchadd{,pl}
- require appropriate permissions for searchadd{,pl}
* tags:
* tags:
- aiff: support the AIFC format
- aiff: support the AIFC format
* playlist:
- cue: support file types "MP3", "AIFF"
* output:
* output:
- fix noisy playback with conversion and software volume
- fix noisy playback with conversion and software volume
...
...
src/cue/cue_parser.c
View file @
7537722a
...
@@ -235,7 +235,9 @@ cue_parser_feed2(struct cue_parser *parser, char *p)
...
@@ -235,7 +235,9 @@ cue_parser_feed2(struct cue_parser *parser, char *p)
if
(
type
==
NULL
)
if
(
type
==
NULL
)
return
;
return
;
if
(
strcmp
(
type
,
"WAVE"
)
!=
0
)
{
if
(
strcmp
(
type
,
"WAVE"
)
!=
0
&&
strcmp
(
type
,
"MP3"
)
!=
0
&&
strcmp
(
type
,
"AIFF"
)
!=
0
)
{
parser
->
state
=
IGNORE_FILE
;
parser
->
state
=
IGNORE_FILE
;
return
;
return
;
}
}
...
...
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