Re: Playing sounds



Yep, that fixed it on my machine too.

Hmmm. Desktop sounds are annoying aren't they? Think I'll
turn them off. ;-)


> Here is a patch that works on my machine, Debian 2.1+
> Its a simple programmin oversight....
> Now esd blocks when the kernel cannot take the full buffer....
> 
> --
> ----------------------------------------------------------------  -o)
> Matthijs Melchior                                       Maarssen  /\\
> mmelchio@xs4all.nl          +31 346 570616           Netherlands _\_v
> ---------------------------------------------------------------- ----
> 
>   ------------------------------------------------------------
> --- audio_oss.c-ORG     Wed Mar 15 19:00:49 2000
> +++ audio_oss.c Sat Jun  3 21:18:49 2000
> @@ -47,7 +47,7 @@
> 
>      mode = fcntl(afd, F_GETFL);
>      mode &= ~O_NONBLOCK;
> -    fcntl(afd, F_SETFL);
> +    fcntl(afd, F_SETFL, mode);
> 
>      /* TODO: check that this is allowable */
>      /* set for full duplex operation, if recording */




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]