err = audio.Init(1, 8000, audio.FormatS8) if err != nil { log.Error.Println("Audio driver unable to initialise ", err) }
prompt “The driver is not started”?
Help me, thank you!
Hi.
I think you could try to add audio.Start() before you call the audio’s init function.
audio.Start()
In fact, you should call Start() function before any code with the driver and call Close() function when you finish the using of driver.
Start()
Close()
You can see the tutorial https://documentation.vincross.com/Development/sensorwalktutorial.html and make a reference.
Regards.
My MIND Version is 0.6.1. MIND has no audio driver by default?
Thank you very much. I can hear the sound now. But the volume is small, the volume is the size of the size of the size of this I should understand the data to solve the problem?
There is not the volume API with the sound device yet. I think you could try to modify the sound file or do something when recording the sound.