[Openal-devel] Possible bug in openal 0.0.8 on linux
Sven Panne
Sven.Panne at BenQ.com
Mon Mar 27 03:50:30 PST 2006
I see at least 3 problems:
* A device is either a "normal" device, or a capture device, but not both at the same time. Therefore having write_device *and* read_device in the device structure is conceptually wrong.
* write_device and read_device should never become NULL.
* The use of the global variable ispaused in a multithreaded setting is quite obscure and probably wrong.
Cheers,
S.
> -----Original Message-----
> From: Juergen Wind [mailto:juergen.wind at wind-software.de]
> Sent: Montag, 27. März 2006 12:53
> To: Sven Panne
> Cc: openal-devel at opensource.creative.com
> Subject: Re: [Openal-devel] Possible bug in openal 0.0.8 on linux
>
> So, what's the underlying problem?
> In my case, the problem was that the read_device was empty
> but not checked for. It was checked in the pause-part of the
> function, but not in the unpause-part.
More information about the Openal-devel
mailing list