The example shows you how to choose the input driver.
system->recordStart(recorddriver, sound, looping);[/code:2nhrvtoa]
recorddriver is an integer between 0 and numdrivers
you can work out which one is the asio driver by using
[code:2nhrvtoa]system->getRecordDriverInfo(count, name, 256, 0);[/code:2nhrvtoa]
- Guest answered 8 years ago
Yes ,I have tested the pitchdetection example,when I choice the outputtype-> ASIO,I can see nothing about the ASIO in the playback and record driver selection and no pitch detected.
so I think maybe there is something wrong with the asio installation.but I can use the asio( asio4all ) in winamp.
How is the correct thing?
If I use the asio,are the steps like below?
record the linein -> play it -> get the spectrum -> again
I tested the "pitchdetection", if I choice the Directsound in output type,I can hear two voices ,but if I choice the asio in output type,I can only hear one voice came from input,so I guess the asio didn’t work .how can I enable the asio function?
I set the volume to 100%,so I can hear two sounds.
I have tested the asio driver as below:
which is the best one?
the playback driver is :Realtek HD audio output.
Please login first to submit.