|
Re: How do i use util::wav_open and wav_close?
12/15/22 10:45 AM
|
|
|
> Various MAME developers run MAME under memory analysers (e.g. Firewave and me). If > everything was leaking wav_file we’d be screaming. I NEVER said that there was something wrong in anything. I said that i had problems using it, asking about how to.
in esq5505.cpp the wav_file is used as it was even before being moved into /lib/util, there was a call to wav_close, and i tried to make it works, not understanding what a unique_ptr is (actually not knowing it at all) as long as 3/4 of the mame things used/instantiated/declared in that driver (or device ... whatever). Anyway, i searched the whole src folder for wav_close and (now obviously) i've found nothing, if not equally outdated debugging code #defined out. Should i've searched for reset()? Now that i know, yes. I didn't understood, so
I
JUST
ASKED
how to use it, got sarcasm as an aswer, replied with equal sarcasm, got "idiot" back *, replied with sarcasm.
Geez.
* dunno what are the forum rules about personal insults but no problem, i'm old enough to handle it.
|
|