Commit 7d29f177 authored by Warren Dukes's avatar Warren Dukes

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
parent 61cffd0e
...@@ -4,11 +4,7 @@ ...@@ -4,11 +4,7 @@
c) fork on update 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 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" 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 f) store stuff to updated in a linked list prior to update fork
g) update child will dump changes to end of db file, this can effectively be a journal g) pass changes back through a pipe from child to parent
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
2) rewrite interface stuff, specifically command list handling etc so its less of a hack and deals with the above update stuff better 2) rewrite interface stuff, specifically command list handling etc so its less of a hack and deals with the above update stuff better
...@@ -194,7 +194,6 @@ void finishAudio() { ...@@ -194,7 +194,6 @@ void finishAudio() {
} }
void audioError() { void audioError() {
ERROR("Error opening audio device\n");
if(errno==AO_ENOTLIVE) { if(errno==AO_ENOTLIVE) {
ERROR("not a live ao device\n"); ERROR("not a live ao device\n");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment