spawn451 / ESP32-CAM_Audio

Stream video and audio with ESP32-CAM
42 stars 5 forks source link

I2S_COMM_FORMAT_STAND_I2S #2

Open loveula opened 7 months ago

loveula commented 7 months ago

I executed the program, but the following error message occurred: \ESP32-CAM_Audio-main\ESP32-CAM_Audio\audio_server.h: In function 'void mic_i2s_init()': audio_server.h:84:29: error: 'I2S_COMM_FORMAT_STAND_I2S' was not declared in this scope C:\Users\user\Downloads\ESP32-CAM_Audio-main\ESP32-CAM_Audio\ESP32-CAM_Audio.ino: In function 'void setup()': ESP32-CAM_Audio:68:10: error: 'struct camera_config_t' has no member named 'pin_sccb_sda' ESP32-CAM_Audio:69:10: error: 'struct camera_config_t' has no member named 'pin_sccb_scl' ESP32-CAM_Audio:76:10: error: 'struct camera_config_t' has no member named 'grab_mode' ESP32-CAM_Audio:76:22: error: 'CAMERA_GRAB_WHEN_EMPTY' was not declared in this scope ESP32-CAM_Audio:77:10: error: 'struct camera_config_t' has no member named 'fb_location' ESP32-CAM_Audio:77:24: error: 'CAMERA_FB_IN_PSRAM' was not declared in this scope ESP32-CAM_Audio:87:14: error: 'struct camera_config_t' has no member named 'grab_mode' ESP32-CAM_Audio:87:26: error: 'CAMERA_GRAB_LATEST' was not declared in this scope ESP32-CAM_Audio:91:14: error: 'struct camera_config_t' has no member named 'fb_location' ESP32-CAM_Audio:91:28: error: 'CAMERA_FB_IN_DRAM' was not declared in this scope exit status 1

'I2S_COMM_FORMAT_STAND_I2S' was not declared in this scope

Please tell me how to deal with it,Thanks!!!

spawn451 commented 2 months ago

Sorry for the late response. It's been a long time since I logged in. I'll look into it when I have some time.