0.4.3 (to be announced) "imaginary radiation"
---------------------------------------------
+ - Fix an end-of-file detection bug in the oggdec filter.
+
------------------------------------------
0.4.2 (2010-04-23) "associative expansion"
------------------------------------------
* It has to to take into account that probably the stream was not started at
* the beginning of the file, that the clock between the server and the client
* host may differ and that playback of the stream was delayed, e.g. because
- * the prebuffer filter is used in the filter chain of the given slot.
+ * the prebuffer filter is used in the filter configuration of the given slot.
*
* If no writer is active in the given slot, or \a slot_num is negative
* (indicating that para_audiod runs in standby mode), an approximation based
return max_size;
}
-int btr_exec(struct btr_node *btrn, const char *command, char **value_result)
-{
- if (!btrn)
- return -ERRNO_TO_PARA_ERROR(EINVAL);
- if (!btrn->execute)
- return -ERRNO_TO_PARA_ERROR(ENOTSUP);
- return btrn->execute(btrn, command, value_result);
-}
-
/**
* Execute a inter-node command on a parent node.
*
#define WAV_FILTER_ERRORS \
- PARA_ERROR(WAV_BAD_FC, "invalid filter chain configuration"), \
+ PARA_ERROR(WAV_BAD_FC, "invalid filter configuration"), \
PARA_ERROR(WAV_EOF, "wav filter: end of file"), \
PARA_ERROR(WAV_SUCCESS, "successfully wrote wav header"), \
the amp filter or the compress filter which are not activated
by default.
- Playing udp streams also requires manual filter configuration
- because the output of the udp receiver must be fed into the
- fecdec filter first to produce a stream which can be decoded
- by the appropriate decoder (mp3dec, oggdec, aacdec). In other
- words, the fecdec filter must be specified as the first filter
- of the filter chain for any udp stream.
+ Playing udp streams also requires that the output of the udp
+ receiver must be fed into the fecdec filter first to produce
+ a stream which can be decoded by the appropriate decoder
+ (mp3dec, oggdec, aacdec, wmadec). In other words, the fecdec
+ filter should be specified as the first filter of the filter
+ configuration for udp streaming.
"
option "filter" f
*
* \sa mood_open(), mood_close().
*/
-int reload_current_mood(void)
+static int reload_current_mood(void)
{
int ret;
char *mood_name = NULL;
int change_current_mood(char *mood_name);
void close_current_mood(void);
-int reload_current_mood(void);
void mood_check_callback(int fd, __a_unused const struct osl_object *query);
{
struct private_oss_write_data *powd = wn->private_data;
- close(powd->fd);
+ if (powd->fd >= 0)
+ close(powd->fd);
free(powd);
}
return 1;
err:
close(powd->fd);
- free(powd);
+ powd->fd = -1;
return ret;
}