Bug Report Negative sync in autdio mixer is not right!

07Pepe

New Member
Hi there i noticed that i can set up audio sync offset as negative, this is also translated in czech as "audio delay" wich is only this could do.

From programers(yes i do c++ but still in school) prespective it should not be able to go negative. Logic is this.... if seted in negative numbers it must delay everting else and play the sound to make negative sync/delay ...

or you make time machine and play sound before it was created :D ( also there is other delay features to delay non audio sources)

it seams to add more absolute value of delay than you set in negative.... but much more then you set..... so it seems like you reed singed integer as unsinged more then you read just absolute value of stored integer......or it asumes it owerflow.... i does not looked into source code jet but it seem not right.... at least from logic of it...

can anybody explay what it does? or if it should exist
 

c3r1c3

Member
It should exist.

Please look at the source code and create a signal flow (including the various buffers involved) path and you'll see how it works.
 

07Pepe

New Member
Yeah that help... kind of....I followed event flow from ui layer... because i know you where there passing millisec from ui ... i don’t understated fully but i understand some... and enough to know it is just cyclic buffer relayed. probably (and do not bother explaining i am "lame" in c++ programing in it for 6 months know)


by the way... I am not just spamming forum.... i had small issues when I was syncing audio with rasp stream from I camera.... and when i settled it negatively it behaved strangely more delay… not less ( according to common sense logic) (but cyclic buffer could get around from “other end”)


thx for support……
 
Top