🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.multimedia
1 messages
1 total messages Started by Mike Thu, 12 Apr 2001 17:11
Changing lpData
#1247
Author: Mike
Date: Thu, 12 Apr 2001 17:11
20 lines
1250 bytes
Hi!

I'am using waveOut for outputing sounds. But how can I change LPSTR
lpData?

I prepare header and than I can with

for (int i = 0; int < ulSize; ++int) {
lpData[i] = something
}

change it. But how can I change it to something useful (like 100 Hz
sound)?

I think that it should be some sin function, but i am not sure. Can
enybody
help? Wave should be in 48 kHz, 16 bit, stereo format.


Mike
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads