MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

Parduz
Reged: 01/08/08
Posts: 30
Loc: Bologna, ITALY
Send PM
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.







Entire thread
Subject Posted by Posted on
* How do i use util::wav_open and wav_close? Parduz 12/12/22 04:53 PM
. * Re: How do i use util::wav_open and wav_close? MooglyGuy  12/14/22 05:51 AM
. * Re: How do i use util::wav_open and wav_close? Parduz  12/14/22 07:11 PM
. * Re: How do i use util::wav_open and wav_close? MooglyGuy  12/14/22 11:28 PM
. * Re: How do i use util::wav_open and wav_close? Parduz  12/15/22 12:11 AM
. * Re: How do i use util::wav_open and wav_close? Vas Crabb  12/15/22 09:47 AM
. * Re: How do i use util::wav_open and wav_close? Parduz  12/15/22 10:45 AM
. * Re: How do i use util::wav_open and wav_close? Vas Crabb  12/15/22 03:46 PM
. * Re: How do i use util::wav_open and wav_close? Parduz  12/15/22 05:23 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 7 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 188