Click here to Skip to main content
15,886,110 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Video Tutorial Pin
Member 334960927-Jul-22 1:34
Member 334960927-Jul-22 1:34 
GeneralRe: Video Tutorial Pin
milo-xml27-Jul-22 2:17
professionalmilo-xml27-Jul-22 2:17 
GeneralRe: Video Tutorial Pin
Member 334960927-Jul-22 2:37
Member 334960927-Jul-22 2:37 
GeneralRe: Video Tutorial Pin
Cpichols27-Jul-22 1:35
Cpichols27-Jul-22 1:35 
GeneralRe: Video Tutorial Pin
alfyvr27-Jul-22 6:43
alfyvr27-Jul-22 6:43 
GeneralRe: Video Tutorial Pin
DanW5228-Jul-22 11:37
professionalDanW5228-Jul-22 11:37 
GeneralRe: Video Tutorial Pin
MikeCO103-Aug-22 2:45
MikeCO103-Aug-22 2:45 
RantWhen C++ attacks Pin
honey the codewitch25-Jul-22 3:13
mvahoney the codewitch25-Jul-22 3:13 
I've been spending hours troubleshooting a problem that just eludes me and the code is too big to actually post a coding question around, which is why I'm venting. I have no question to ask.

I have several classes that work in tandem

performer-->Several audio sources "voices"--->mixer--->transport--->driver

You can simple call things like shape(), or wav() off performer and it handles voice allocation mixing, and playing the audio.

Everything but performer has been mostly tested.

I go to trigger a sound by hitting a button. Nothing plays.

I start debugging. Go into code and verify that a non-null voice is being set in one of the mixer slots (which has been tested). It is being set to a non-null value indeed.

When I go into the mixer on the same run, it claims all the voices are null.

The mixer and transport classes both have resource stealing overloads, and then their base copy overloads are deleted. I've hand checked the code in these overloads over and over, and it's pretty simple anyway.

I cannot for the life of me figure out why my array values (voice slots) are vanishing. I'm out of moves.

Outside of hacking VB6 internals from inside VB I've never run into a problem like this in any other language.

Other languages make it hard to shoot yourself in the foot.

C++ makes it easy to shoot yourself in the foot, and when you do you blow your whole heckin leg off. Dead | X|
To err is human. Fortune favors the monsters.

GeneralRe: When C++ attacks Pin
Stylianos Polychroniadis25-Jul-22 4:35
Stylianos Polychroniadis25-Jul-22 4:35 
GeneralRe: When C++ attacks Pin
honey the codewitch25-Jul-22 5:52
mvahoney the codewitch25-Jul-22 5:52 
GeneralRe: When C++ attacks Pin
Matt Bond27-Jul-22 3:13
Matt Bond27-Jul-22 3:13 
GeneralRe: When C++ attacks Pin
honey the codewitch27-Jul-22 3:14
mvahoney the codewitch27-Jul-22 3:14 
GeneralRe: When C++ attacks Pin
trønderen25-Jul-22 7:01
trønderen25-Jul-22 7:01 
GeneralRe: When C++ attacks Pin
Greg Utas25-Jul-22 7:13
professionalGreg Utas25-Jul-22 7:13 
GeneralRe: When C++ attacks Pin
jmaida25-Jul-22 15:11
jmaida25-Jul-22 15:11 
GeneralRe: When C++ attacks Pin
David O'Neil25-Jul-22 16:07
professionalDavid O'Neil25-Jul-22 16:07 
GeneralRe: When C++ attacks Pin
honey the codewitch25-Jul-22 16:19
mvahoney the codewitch25-Jul-22 16:19 
GeneralRe: When C++ attacks Pin
David O'Neil25-Jul-22 16:42
professionalDavid O'Neil25-Jul-22 16:42 
JokeWoke up this morning and called my boss to ask if I could come in a little late... PinPopular
Sander Rossel24-Jul-22 23:23
professionalSander Rossel24-Jul-22 23:23 
GeneralRe: Woke up this morning and called my boss to ask if I could come in a little late... Pin
den2k8824-Jul-22 23:41
professionalden2k8824-Jul-22 23:41 
GeneralRe: Woke up this morning and called my boss to ask if I could come in a little late... Pin
Craig Robbins25-Jul-22 0:59
Craig Robbins25-Jul-22 0:59 
GeneralRe: Woke up this morning and called my boss to ask if I could come in a little late... Pin
PIEBALDconsult25-Jul-22 5:00
mvePIEBALDconsult25-Jul-22 5:00 
GeneralRe: Woke up this morning and called my boss to ask if I could come in a little late... Pin
Nelek25-Jul-22 5:37
protectorNelek25-Jul-22 5:37 
JokeRe: Woke up this morning and called my boss to ask if I could come in a little late... Pin
trønderen25-Jul-22 6:42
trønderen25-Jul-22 6:42 
GeneralRe: Woke up this morning and called my boss to ask if I could come in a little late... Pin
Sander Rossel25-Jul-22 21:04
professionalSander Rossel25-Jul-22 21:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.