Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Delphi and mmsystem.dll

SniffeXSniffeX Member Posts: 9
Im trying to create a sound like 80*sen(x) store on memory and play it with mmsystem unit (waveout i think),i can get devices but i dont know how to play the buffer, i do it under dos but windows already have a driver.

thanks.

Comments

  • zibadianzibadian Member Posts: 6,349
    : Im trying to create a sound like 80*sen(x) store on memory and play it with mmsystem unit (waveout i think),i can get devices but i dont know how to play the buffer, i do it under dos but windows already have a driver.
    :
    : thanks.
    :
    Perhaps the waveOutWrite() function will help. I have very little experience writing multimedia applications, but based on the help files and the source of mmsystem, this was the best function I could find. Other functions you'll probably are going to need are:
    - waveOutPrepareHeader()
    - waveOutOpen()
    - waveOutClose()

    I hope this helps you to get closer to a solution.
Sign In or Register to comment.