Re: [AD] too strict assert? |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Fri, 2005-07-01 at 04:11 +1000, Peter Wang wrote:
> >
> > Well, your patch does the same.. the question is though, given the
> > asynchronous nature of voices, can we really disallow -1?
>
> I guess not. But the doc patch for voice_get_volume() should go in.
>
Ok, I applied your patch, just to be able to run again in debug mode,
and added a todo item to investigate proper locking. I think that's the
only right solution.. but the mixer mutex is static to mixer.c, so
didn't do it yet just now.
--
Elias Pschernig