Click here to Skip to main content
15,884,298 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: Wooo! I did it Pin
David O'Neil1-Jul-20 14:36
professionalDavid O'Neil1-Jul-20 14:36 
GeneralRe: Wooo! I did it Pin
honey the codewitch1-Jul-20 15:01
mvahoney the codewitch1-Jul-20 15:01 
GeneralRe: Wooo! I did it Pin
David O'Neil1-Jul-20 15:58
professionalDavid O'Neil1-Jul-20 15:58 
GeneralRe: Wooo! I did it Pin
honey the codewitch1-Jul-20 17:05
mvahoney the codewitch1-Jul-20 17:05 
GeneralRe: Wooo! I did it Pin
David O'Neil1-Jul-20 20:40
professionalDavid O'Neil1-Jul-20 20:40 
GeneralRe: Wooo! I did it Pin
honey the codewitch2-Jul-20 0:21
mvahoney the codewitch2-Jul-20 0:21 
GeneralRe: Wooo! I did it Pin
David O'Neil2-Jul-20 8:21
professionalDavid O'Neil2-Jul-20 8:21 
GeneralRe: Wooo! I did it Pin
honey the codewitch2-Jul-20 8:48
mvahoney the codewitch2-Jul-20 8:48 
I can't use a boolean for that because interlocked exchange only works on 32-bit or 64-bit values.
That's documented where it's declared

And placing consts before vars is something you'll find among folks like me who cut their teeth on C and C++ when compilers didn't warn you about accidental assignments

_timingTimestamp holds the system ticks - basically the UTC "now" of the last timing message received. Every time, what we do is take the difference of this from the current time (also in ticks) and use that to get a period. We take the period - which is 1/24 of a quarter-note, and convert it to a tempo. We then use that tempo to update the incoming recording and such
Real programmers use butterflies

GeneralRe: Wooo! I did it Pin
David O'Neil2-Jul-20 8:54
professionalDavid O'Neil2-Jul-20 8:54 
GeneralRe: Wooo! I did it Pin
honey the codewitch2-Jul-20 9:07
mvahoney the codewitch2-Jul-20 9:07 
GeneralRe: Wooo! I did it Pin
David O'Neil2-Jul-20 9:10
professionalDavid O'Neil2-Jul-20 9:10 
GeneralRe: Wooo! I did it Pin
honey the codewitch2-Jul-20 9:38
mvahoney the codewitch2-Jul-20 9:38 
GeneralRe: Wooo! I did it Pin
David O'Neil2-Jul-20 9:12
professionalDavid O'Neil2-Jul-20 9:12 
GeneralRe: Wooo! I did it Pin
honey the codewitch2-Jul-20 9:36
mvahoney the codewitch2-Jul-20 9:36 
GeneralRe: Wooo! I did it Pin
David O'Neil2-Jul-20 10:10
professionalDavid O'Neil2-Jul-20 10:10 
GeneralRe: Wooo! I did it Pin
honey the codewitch2-Jul-20 12:25
mvahoney the codewitch2-Jul-20 12:25 
GeneralRe: Wooo! I did it Pin
David O'Neil2-Jul-20 13:03
professionalDavid O'Neil2-Jul-20 13:03 
GeneralRe: Wooo! I did it Pin
honey the codewitch2-Jul-20 13:18
mvahoney the codewitch2-Jul-20 13:18 
GeneralRe: Wooo! I did it Pin
honey the codewitch2-Jul-20 9:10
mvahoney the codewitch2-Jul-20 9:10 
GeneralRe: Wooo! I did it Pin
David O'Neil2-Jul-20 9:15
professionalDavid O'Neil2-Jul-20 9:15 
GeneralRe: Wooo! I did it Pin
honey the codewitch2-Jul-20 9:33
mvahoney the codewitch2-Jul-20 9:33 
GeneralRe: Wooo! I did it Pin
David O'Neil2-Jul-20 10:12
professionalDavid O'Neil2-Jul-20 10:12 
GeneralRe: Wooo! I did it Pin
Greg Utas2-Jul-20 0:25
professionalGreg Utas2-Jul-20 0:25 
GeneralRe: Wooo! I did it Pin
honey the codewitch2-Jul-20 9:11
mvahoney the codewitch2-Jul-20 9:11 
GeneralI was sent this, and... PinPopular
OriginalGriff1-Jul-20 8:21
mveOriginalGriff1-Jul-20 8:21 

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.