* @brief RTP player - OSS and empeg support
*/
-#include <config.h>
+#include "common.h"
#if HAVE_SYS_SOUNDCARD_H || EMPEG_HOST
-#include "types.h"
#include <poll.h>
#include <sys/ioctl.h>
#if !EMPEG_HOST
#include <sys/soundcard.h>
#endif
-#include <assert.h>
#include <pthread.h>
-#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
/** @brief Write samples to OSS output device
* @param data Pointer to sample data
- * @param nsamples Number of samples
+ * @param samples Number of samples
* @return 0 on success, non-0 on error
*/
static int playrtp_oss_write(const char *data, size_t samples) {