I'm using this class as a microphone detection: https://github.com/picciano/iOS-Audio-Recoginzer and it works fine in the simulator but that doesn't work on the device.
peak power is always 0.000001 when testing on iPhone.
I don't know if NSURL *url = [NSURL fileURLWithPath:@"/dev/null"]; is a valid path on the device, anyone?
Thanx
I had the same issue with a similar use of the library /dev/null is not a valid path in the device you need to use a writable one, like one on temp or documents inside the app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With