flat assembler
Message board for the users of flat assembler.

Index > Windows > Stream not aligned

Author
Thread Post new topic Reply to topic
Overclick



Joined: 11 Jul 2020
Posts: 670
Location: Ukraine
Overclick 15 Jun 2021, 15:48
Hi
Stream I receive from audio device is not aligned to 16. Can I force it to be aligned somehow?
Post 15 Jun 2021, 15:48
View user's profile Send private message Visit poster's website Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4162
Location: vpcmpistri
bitRAKE 15 Jun 2021, 17:40
Who owns the stream? Driver? Might need to add a check and handle partial data (if you have no control of buffer), then switch to performance loop, then handle partial tail?
Post 15 Jun 2021, 17:40
View user's profile Send private message Visit poster's website Reply with quote
Overclick



Joined: 11 Jul 2020
Posts: 670
Location: Ukraine
Overclick 15 Jun 2021, 19:47
I asking for some simple option like an Interface or the Key for that. Maybe some options via PROPVARIANT etc. I think about profit of partial reading but all registers are busy already and package size is not that big enough to lose the time for measuring its separate parts.
Post 15 Jun 2021, 19:47
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.