Click here to Skip to main content
15,901,283 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: How did they do it? Pin
honey the codewitch6-May-22 6:31
mvahoney the codewitch6-May-22 6:31 
GeneralRe: How did they do it? Pin
Peter_in_27804-May-22 19:11
professionalPeter_in_27804-May-22 19:11 
GeneralRe: How did they do it? Pin
honey the codewitch5-May-22 15:19
mvahoney the codewitch5-May-22 15:19 
GeneralRe: How did they do it? Pin
User 4909744-May-22 22:36
User 4909744-May-22 22:36 
GeneralRe: How did they do it? Pin
CPallini5-May-22 2:50
mveCPallini5-May-22 2:50 
GeneralRe: How did they do it? Pin
Wizard of Sleeves5-May-22 20:51
Wizard of Sleeves5-May-22 20:51 
GeneralRe: How did they do it? Pin
honey the codewitch6-May-22 1:57
mvahoney the codewitch6-May-22 1:57 
GeneralRe: How did they do it? Pin
Dougy835-May-22 21:18
Dougy835-May-22 21:18 
I think you're overcomplicating things. You could use a simple class for each track. Initialise it with the track length, byte offset/state, and a getNextByte(offset/state) callback function. Implement getNextEventTime(), and getNextEvent(). Now you can get the minimum getNextEventTime() of all tracks, and then getNextEvent() for any track that matched that minimum time. Calling getNextEvent() will update that track's next event time. Rinse & repeat. Rinsing is optional.
GeneralRe: How did they do it? Pin
honey the codewitch6-May-22 1:18
mvahoney the codewitch6-May-22 1:18 
GeneralRe: How did they do it? Pin
Dougy836-May-22 1:48
Dougy836-May-22 1:48 
GeneralRe: How did they do it? Pin
honey the codewitch6-May-22 1:55
mvahoney the codewitch6-May-22 1:55 
GeneralRe: How did they do it? Pin
Dougy836-May-22 1:57
Dougy836-May-22 1:57 
GeneralRe: How did they do it? Pin
Dougy836-May-22 1:56
Dougy836-May-22 1:56 
GeneralRe: How did they do it? Pin
Cpichols6-May-22 1:49
Cpichols6-May-22 1:49 
GeneralRe: How did they do it? Pin
honey the codewitch6-May-22 1:58
mvahoney the codewitch6-May-22 1:58 
GeneralRe: How did they do it? Pin
Gary Wheeler6-May-22 2:02
Gary Wheeler6-May-22 2:02 
GeneralRe: How did they do it? Pin
honey the codewitch6-May-22 2:44
mvahoney the codewitch6-May-22 2:44 
GeneralRe: How did they do it? Pin
Gary Wheeler6-May-22 2:48
Gary Wheeler6-May-22 2:48 
GeneralRe: How did they do it? Pin
honey the codewitch6-May-22 2:52
mvahoney the codewitch6-May-22 2:52 
GeneralRe: How did they do it? Pin
Gary Wheeler6-May-22 3:16
Gary Wheeler6-May-22 3:16 
GeneralRe: How did they do it? Pin
honey the codewitch6-May-22 3:18
mvahoney the codewitch6-May-22 3:18 
GeneralMay the Farce Be With You Pin
BernardIE53174-May-22 14:35
BernardIE53174-May-22 14:35 
General50% french is english Pin
Southmountain4-May-22 14:25
Southmountain4-May-22 14:25 
GeneralRe: 50% french is english Pin
PIEBALDconsult4-May-22 14:32
mvePIEBALDconsult4-May-22 14:32 
GeneralRe: 50% french is english Pin
Southmountain4-May-22 16:43
Southmountain4-May-22 16:43 

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.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   504 votes