Sorry but i have 2 questions.
How i can play buffer with ansdlib?
and
I must use only ASND_SetVoice or i need another more?
Play Buffer with asndlib
-
- Posts: 1
- Joined: Tue Oct 05, 2010 3:54 pm
Playing sound buffers with asndlib and aesndlib
How i can play buffer with ansdlib? I must use only ASND_SetVoice or i need another more?
Is better asndlib o aesndlib for this stuff?
Is better asndlib o aesndlib for this stuff?
Re: Play Buffer with asndlib
First you have to obtain a 8 bits signed RAW PCM sample. You can use for example audacity.
After that you have to link it to your program. You can use raw2c.exe utility to do that.
copy and include include the files generated.
use ASND_Init() to initialize th library and ASND_Pause(0) to let play.
Finally use ASND_setvoice to play the buffer.
After that you have to link it to your program. You can use raw2c.exe utility to do that.
copy and include include the files generated.
use ASND_Init() to initialize th library and ASND_Pause(0) to let play.
Finally use ASND_setvoice to play the buffer.
Who is online
Users browsing this forum: No registered users and 6 guests