0.7.1 (to be announced) "digital spindrift"
-------------------------------------------
-
+- The autogen.sh script now only creates the autoconf specific files
+ but no longer runs configure, make and the test suite.
-
+- A stripped down copy of the discontinued libmp4ff library has become
+ part of the paraslash code base. As a result it is no longer necessary
+ to install faad from source to get support for aac/m4a files. The
+ faad decoder package must still be installed.
++- The log level of the running daemon can now be changed with the
++ new ll command. It is available for para_server and para_audiod.
+- All calls to select(2) have been replaced by calls to poll(2)
+ to avoid known shortcomings of the select API.
+
[tarball](./releases/paraslash-git.tar.xz)
----------------------------------
}, s);
}
-static int afs_select(int max_fileno, fd_set *readfds, fd_set *writefds,
- struct timeval *timeout_tv)
++static int afs_poll(struct pollfd *fds, nfds_t nfds, int timeout)
+ {
+ mutex_lock(mmd_mutex);
+ daemon_set_loglevel(mmd->loglevel);
+ mutex_unlock(mmd_mutex);
- return para_select(max_fileno + 1, readfds, writefds, timeout_tv);
++ return xpoll(fds, nfds, timeout);
+ }
+
/**
* Initialize the audio file selector process.
*
PARA_INFO_LOG("server_socket: %d\n", server_socket);
init_admissible_files(OPT_STRING_VAL(AFS_INITIAL_MODE));
register_command_task(&s);
- s.select_function = afs_select;
- s.default_timeout.tv_sec = 0;
- s.default_timeout.tv_usec = 999 * 1000;
+ s.default_timeout = 1000;
++ s.poll_function = afs_poll;
ret = write(socket_fd, "\0", 1);
if (ret != 1) {
if (ret == 0)
{
int ret;
+ daemon_set_loglevel(mmd->loglevel);
status_refresh();
mutex_unlock(mmd_mutex);
- ret = para_select(max_fileno + 1, readfds, writefds, timeout_tv);
+ ret = xpoll(fds, nfds, timeout);
mutex_lock(mmd_mutex);
return ret;
}