VOGONS


First post, by tommytommy

User metadata
Rank Newbie
Rank
Newbie

Hi,

can somebody here tell me how to use the AdLib emulator (fmopl.c)? I've tried to make it work with DirectSound, but all I get is silence. I've proved that the DirectSound buffer is working well, so the point is how to fill it with PCM data from the adlib emulation library.

Could maybe someone give me an example how to produce a single tone with that library? I don't need an interface, just any buffer in memory that contains the PCM data afterwards. That would just be great.

(I did some real AdLib programming before, so you wouldn't have to explain that to me)

Thanks for help,
sincerely,

Tommy