Hitesh patil - 2018-05-21

Hello, I am using Adafruit i2s Mems Microphone on Raspberry pi3 and PocketSphinx for the Speech to text conversion project. I am able to record audio on AUDACITY and Alsa. Previously i tried Google speech API but couldnot resolve the "Error -400" . Parllely i was trying PocketSphinx that time i was not able to properly install, Right now i am on right track, Thank you Community.
RIght now I am getting an error and i tried a solution also.

"Error opening audio device default for capture: No such file or directory
FATAL: "continuous.c", line 245: Failed to open audio device"

Solution
sudo apt-get remove pulseaudio -y
sudo aptitude purge pulseaudio -y
sudo mv /usr/include/pulse/pulseaudio.h /usr/include/pulse/pulseaudio.h.old

But nothing seems working.

Can you please help and tech me regarding I2S microphone.