TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: DANNY KEOGH
from: MICAEL BAERENS
date: 1997-07-27 00:39:00
subject: converting sound data

Hello Danny
23-Jul-97, Danny Keogh wrote to All
           Subj.: converting sound data
 DK> Ok, peoples!  I thought I knew how to do this but when I tried it
 DK> it didn't work.  No code is needed, I just need to know how to
 DK> convert a 16-bit sample to an 8-bit sample...  That's it.
unsigned short       _16_bit_sample;
unsigned char        _8_bit_sample;
_8_bit_sample = (unsigned char)(_16_bit_sample >> 8);
I guess...
signing out: leander
--- creme
---------------
* Origin: creme (2:235/224.108)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.