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
e990dced
Commit
e990dced
authored
Nov 10, 2008
by
Led
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.10.1
parent
87e37cd4
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
9 deletions
+10
-9
ChangeLog
ChangeLog
+2
-1
audiofile_decode.c
src/audiofile_decode.c
+1
-1
decode.c
src/decode.c
+3
-3
flac_decode.c
src/flac_decode.c
+1
-1
mp3_decode.c
src/mp3_decode.c
+1
-1
ogg_decode.c
src/ogg_decode.c
+1
-1
player.c
src/player.c
+1
-1
No files found.
ChangeLog
View file @
e990dced
ver 0.10.1 (2004/3/
8
)
ver 0.10.1 (2004/3/
7
)
1) Check to see if we need to add "-lm" when linking mpd
2) Fix issues with skipping bad frames in an mp3 (this way we get the correct samplerate and such)
3) Fix crossfading bug with ogg's
4) Updated libmad and libid3tag included w/ source to 0.15.1b
ver 0.10.0 (2004/3/3)
1) Use UTF-8 for all client communications
...
...
src/audiofile_decode.c
View file @
e990dced
...
...
@@ -99,7 +99,7 @@ int audiofile_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc)
else
{
while
(
cb
->
begin
==
cb
->
end
&&
cb
->
wrap
&&
!
dc
->
stop
&&
!
dc
->
seek
){
usleep
(
1000
);
usleep
(
1000
0
);
}
if
(
dc
->
stop
)
break
;
else
if
(
dc
->
seek
)
continue
;
...
...
src/decode.c
View file @
e990dced
...
...
@@ -242,7 +242,7 @@ int decoderInit(PlayerControl * pc, Buffer * cb, AudioFormat *af,
dc
->
stop
=
0
;
}
else
if
(
dc
->
seek
)
dc
->
start
=
1
;
else
usleep
(
1000
);
else
usleep
(
1000
0
);
}
exit
(
0
);
...
...
@@ -311,7 +311,7 @@ void decode() {
{
processDecodeInput
();
if
(
quit
)
return
;
usleep
(
100
);
usleep
(
100
0
);
}
while
(
!
quit
)
{
...
...
@@ -458,7 +458,7 @@ void decode() {
quit
=
1
;
break
;
}
else
usleep
(
10
);
else
usleep
(
10
00
);
}
pc
->
totalPlayTime
+=
pc
->
elapsedTime
-
pc
->
beginTime
;
\
...
...
src/flac_decode.c
View file @
e990dced
...
...
@@ -181,7 +181,7 @@ int flacSendChunk(FlacData * data) {
while
(
data
->
cb
->
begin
==
data
->
cb
->
end
&&
data
->
cb
->
wrap
&&
!
data
->
dc
->
stop
&&
!
data
->
dc
->
seek
)
{
usleep
(
1000
);
usleep
(
1000
0
);
}
if
(
data
->
dc
->
stop
)
return
-
1
;
...
...
src/mp3_decode.c
View file @
e990dced
...
...
@@ -397,7 +397,7 @@ int openMp3(char * file, mp3DecodeData * data) {
int
mp3ChildSendData
(
mp3DecodeData
*
data
,
Buffer
*
cb
,
DecoderControl
*
dc
)
{
while
(
cb
->
begin
==
cb
->
end
&&
cb
->
wrap
&&
!
dc
->
stop
&&
!
dc
->
seek
)
usleep
(
1000
);
usleep
(
1000
0
);
if
(
dc
->
stop
)
return
-
1
;
/* just for now, so it doesn't hang */
if
(
dc
->
seek
)
return
0
;
...
...
src/ogg_decode.c
View file @
e990dced
...
...
@@ -85,7 +85,7 @@ int ogg_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc)
while
(
cb
->
begin
==
cb
->
end
&&
cb
->
wrap
&&
!
dc
->
stop
&&
!
dc
->
seek
)
{
usleep
(
1000
);
usleep
(
1000
0
);
}
if
(
dc
->
stop
)
break
;
else
if
(
dc
->
seek
)
continue
;
...
...
src/player.c
View file @
e990dced
...
...
@@ -134,7 +134,7 @@ int playerInit() {
pc
->
queueLockState
=
PLAYER_QUEUE_UNLOCKED
;
pc
->
unlockQueue
=
0
;
}
else
usleep
(
1000
);
else
usleep
(
1000
0
);
}
exit
(
0
);
...
...
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