todo update, and remove a potentially gratutious playSilence() call
git-svn-id: https://svn.musicpd.org/mpd/trunk@3051 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
1f3116766c
commit
959f9880ef
4
TODO
4
TODO
@ -15,7 +15,11 @@
|
|||||||
|
|
||||||
*) aduio output
|
*) aduio output
|
||||||
*) allowing "pausing" of audio output devices
|
*) 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
|
*) 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
|
*) need better resampling code
|
||||||
|
|
||||||
0.13
|
0.13
|
||||||
|
@ -497,7 +497,10 @@ void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb) {
|
|||||||
{
|
{
|
||||||
processDecodeInput();
|
processDecodeInput();
|
||||||
if(quit) return;
|
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) {
|
while(!quit) {
|
||||||
@ -652,6 +655,8 @@ void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else {
|
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;
|
if(playAudio(silence, CHUNK_SIZE) < 0) quit = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user