From 739f3c9df7072c25b4a7f04f511479701f917b5f Mon Sep 17 00:00:00 2001 From: "N.N." Date: Mon, 1 Jun 2009 00:44:52 +0000 Subject: better errormsg svn path=/trunk/; revision=11598 --- desiredata/src/s_audio_oss.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'desiredata/src/s_audio_oss.c') diff --git a/desiredata/src/s_audio_oss.c b/desiredata/src/s_audio_oss.c index 5c795158..d68a6aa9 100644 --- a/desiredata/src/s_audio_oss.c +++ b/desiredata/src/s_audio_oss.c @@ -88,11 +88,11 @@ void oss_init() { void oss_set32bit() {oss_32bit=1;} -typedef struct _multidev { +struct t_multidev { int fd; int channels; int format; -} t_multidev; +}; int oss_reset(int fd) { int err = ioctl(fd,SNDCTL_DSP_RESET); @@ -351,12 +351,12 @@ static void oss_calcspace() { audio_buf_info ainfo; for (int dev=0; dev