1. Monkey Junk.
- Posted by Tuxedo Mask <nitrogen at XTRA.CO.NZ> Sep 13, 1998
- 497 views
Can someone give me info how to correctly convert 16 bit signed numbers to unsigned numbers and vice versa. It's real important here!! I've almost got my music program able to use sound blaster too! Just a bit more work and it'll work right! Thanx, Mark.
2. Re: Monkey Junk.
- Posted by Pete Eberlein <xseal at HARBORSIDE.COM> Sep 12, 1998
- 464 views
signed_int = and_bits(unsigned_int, #7FFF) - and_bits(unsigned_int, #8000) -- _____ _____ _____ ________ /\ \ /\ \ /\ \ / \ \ / \____\ / \____\ / \____\ / _ \____\ / / ___/_ / /____/ / / ___/_ / / \ |____|/ / /\____\ / \ \ / / /\____\ \ \_/ / / \ \/ / ___/_\ \ \ \ \/ / ___/_ \ /____/ \ / /\ \\/\ \ \ \ / /\ \ \ \ \ \ \/ \____\ \ \ \ \ \/ \____\ \ \ \ \ / / \ \____\ \ / / \ \____\ \ / / \ / / \ / / \ / / \ / / \/____/ \ / / \/____/ \/____/xseal at harborside.com\/____/