chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't report failure just because MTA is being over-picky
[disorder]
/
clients
/
playrtp-oss.c
diff --git
a/clients/playrtp-oss.c
b/clients/playrtp-oss.c
index b40947d69db41092e42bf58365fd732248ddd991..199487f6993efe800b9c063d3aea24556d4ceee9 100644
(file)
--- a/
clients/playrtp-oss.c
+++ b/
clients/playrtp-oss.c
@@
-22,19
+22,16
@@
* @brief RTP player - OSS and empeg support
*/
* @brief RTP player - OSS and empeg support
*/
-#include
<config.h>
+#include
"common.h"
#if HAVE_SYS_SOUNDCARD_H || EMPEG_HOST
#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 <poll.h>
#include <sys/ioctl.h>
#if !EMPEG_HOST
#include <sys/soundcard.h>
#endif
-#include <assert.h>
#include <pthread.h>
#include <pthread.h>
-#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
@@
-189,7
+186,7
@@
static void playrtp_oss_disable(int hard) {
/** @brief Write samples to OSS output device
* @param data Pointer to sample data
/** @brief Write samples to OSS output device
* @param data Pointer to sample data
- * @param
n
samples 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) {
* @return 0 on success, non-0 on error
*/
static int playrtp_oss_write(const char *data, size_t samples) {