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
959f9880
Commit
959f9880
authored
Mar 10, 2005
by
Warren Dukes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
todo update, and remove a potentially gratutious playSilence() call
git-svn-id:
https://svn.musicpd.org/mpd/trunk@3051
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
1f311676
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
TODO
TODO
+4
-0
decode.c
src/decode.c
+6
-1
No files found.
TODO
View file @
959f9880
...
...
@@ -15,7 +15,11 @@
*) aduio output
*) allowing "pausing" of audio output devices
*) while pausing, play silence for the devices that don't support
"pausing"
*) add support for automagically detecting the current output device
*) correlated the automagically deteted output device to the default
mixer to choose
*) need better resampling code
0.13
...
...
src/decode.c
View file @
959f9880
...
...
@@ -497,7 +497,10 @@ void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb) {
{
processDecodeInput
();
if
(
quit
)
return
;
playSilenceOrSleep
();
/*playSilenceOrSleep();*/
/* instead we want to pause audio and play silence for
* devices that don't support pausing */
my_usleep
(
1000
);
}
while
(
!
quit
)
{
...
...
@@ -652,6 +655,8 @@ void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb) {
break
;
}
else
{
/* instead we want to pause audio and play silence for
* devices that don't support pausing */
if
(
playAudio
(
silence
,
CHUNK_SIZE
)
<
0
)
quit
=
1
;
}
}
...
...
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