From: Andre Noll Date: Thu, 24 Mar 2011 12:20:13 +0000 (+0100) Subject: Merge remote branch 'boock/master' X-Git-Tag: v0.4.6~8^2 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;h=4fc020328706c80e25c6138afb262a210560eeef;hp=e9c51d24b1667b94101bf52fbd95aa7f1c6cb1d6;p=paraslash.git Merge remote branch 'boock/master' --- diff --git a/afs.c b/afs.c index c2fd6d52..0464eb77 100644 --- a/afs.c +++ b/afs.c @@ -468,7 +468,6 @@ again: } ret = open_and_update_audio_file(aft_row, score, &afd); if (ret < 0) { - PARA_ERROR_LOG("%s\n", para_strerror(-ret)); ret = score_delete(aft_row); if (ret < 0) { PARA_ERROR_LOG("%s\n", para_strerror(-ret)); diff --git a/aft.c b/aft.c index 266188b5..b3dde137 100644 --- a/aft.c +++ b/aft.c @@ -1136,6 +1136,8 @@ int open_and_update_audio_file(struct osl_row *aft_row, long score, err: free(afd->afhi.chunk_table); osl_close_disk_object(&chunk_table_obj); + if (ret < 0) + PARA_ERROR_LOG("%s: %s\n", path, para_strerror(-ret)); return ret; } diff --git a/audiod.cmd b/audiod.cmd index 7ffe98e7..759f1917 100644 --- a/audiod.cmd +++ b/audiod.cmd @@ -14,7 +14,7 @@ H: on -> standby -> off -> on N: grab D: grab the audio stream L: -U: -- grab [-m[{s|p|a}]] [-p=] [-n=] [-o] +U: -- grab [-m[{s|p|a}]] [-p=PARENT] [-n=NAME] [-o] H: H: grab ('splice') the audio stream at any position in the buffer H: tree and send that data back to the client. @@ -35,7 +35,7 @@ H: ready for writing (i.e. would block). Sloppy mode ignores H: the write, pedantic mode aborts and aggressive mode tries H: to write anyway. H: -H: -p Grab output of node of the buffer tree. +H: -p Grab output of node PARENT of the buffer tree. H: H: -n Name of the new buffer tree node. Defaults to 'grab'. H: diff --git a/stdin.h b/stdin.h index 2d279a6e..32a4c281 100644 --- a/stdin.h +++ b/stdin.h @@ -12,7 +12,7 @@ struct stdin_task { struct task task; /** Stdin is always the root of a buffer tree. */ struct btr_node *btrn; - /* Use a buffer pool to minimize memcpy due to alignment problems. */ + /** Use a buffer pool to minimize memcpy due to alignment problems. */ struct btr_pool *btrp; };