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
69d787b3
Commit
69d787b3
authored
Jun 05, 2004
by
Warren Dukes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
todo update
git-svn-id:
https://svn.musicpd.org/mpd/trunk@1341
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
c2c34f78
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
TODO
TODO
+7
-4
ogg_plugin.c
src/inputPlugins/ogg_plugin.c
+5
-0
No files found.
TODO
View file @
69d787b3
...
...
@@ -2,14 +2,17 @@
2) Put a new metadata entry for icyName for Song's
3) Add a list_OK options for command_lists, to get a list_OK after each
3) handle changes in audioFormat in a single stream/file,
esp need for vorbis streams
4) Add a list_OK options for command_lists, to get a list_OK after each
command
4
) put some sort of error reporting for streaming/inputStream!
5
) put some sort of error reporting for streaming/inputStream!
5
) Fix charset errors so they don't goto stderr/out
6
) Fix charset errors so they don't goto stderr/out
6
) Add a timeout for streams (how long? 1 minutes?)
7
) Add a timeout for streams (how long? 1 minutes?)
Post-1.0
...
...
src/inputPlugins/ogg_plugin.c
View file @
69d787b3
...
...
@@ -221,6 +221,7 @@ int ogg_decode(OutputBuffer * cb, DecoderControl * dc, InputStream * inStream)
ov_callbacks
callbacks
;
OggCallbackData
data
;
int
current_section
;
int
prev_section
=
-
1
;
int
eof
=
0
;
long
ret
;
#define OGG_CHUNK_SIZE 4096
...
...
@@ -285,6 +286,10 @@ int ogg_decode(OutputBuffer * cb, DecoderControl * dc, InputStream * inStream)
OGG_DECODE_USE_BIGENDIAN
,
2
,
1
,
&
current_section
);
if
(
current_section
!=
prev_section
)
printf
(
"song changed!
\n
"
);
prev_section
=
current_section
;
if
(
ret
<=
0
&&
ret
!=
OV_HOLE
)
{
eof
=
1
;
break
;
...
...
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