aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-04-07 23:46:33 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-04-07 23:46:33 +0000
commit7d29f1772a97a3cae20781fb98604abae7cae017 (patch)
treed07dba625ec590f35a71f0438b437021df1268f9
parent61cffd0e75176bc27b714921fd9c5df804f6c634 (diff)
downloadmpd-7d29f1772a97a3cae20781fb98604abae7cae017.tar.gz
mpd-7d29f1772a97a3cae20781fb98604abae7cae017.tar.xz
mpd-7d29f1772a97a3cae20781fb98604abae7cae017.zip
don't report an error about not able to open device in audioError
also, update TODO with ideas about non-blocking update git-svn-id: https://svn.musicpd.org/mpd/trunk@632 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--TODO8
-rw-r--r--src/audio.c1
2 files changed, 2 insertions, 7 deletions
diff --git a/TODO b/TODO
index 7b96497c6..fcd7c0d0a 100644
--- a/TODO
+++ b/TODO
@@ -4,11 +4,7 @@
c) fork on update
d) have a special case where if a update is in a command list, it only forks at the beginning of the list, and writes at the end of the command list
e) add an element to status stating the "update state"
- f) before a fork, the parent gets the position at the end of the db file
- g) update child will dump changes to end of db file, this can effectively be a journal
- h) parent reads changes at end of db file when update child is done
- i) when mpd exits, dump the current db to the file, this will erase an journal entries
- j) if there are journal entries on mpd start up, read the changes, then dump the entired db back to disk, and elimanate journal entries
-
+ f) store stuff to updated in a linked list prior to update fork
+ g) pass changes back through a pipe from child to parent
2) rewrite interface stuff, specifically command list handling etc so its less of a hack and deals with the above update stuff better
diff --git a/src/audio.c b/src/audio.c
index c5f0fa9bc..f8ad963ea 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -194,7 +194,6 @@ void finishAudio() {
}
void audioError() {
- ERROR("Error opening audio device\n");
if(errno==AO_ENOTLIVE) {
ERROR("not a live ao device\n");
}