-
I am implementing a headset (speaker+mic) on ESP32-S3. I notice that when I pause the playback or record 3 times, playback or record does not happen any more.
Obviously the ASSERT fails when active_in and active_out are >0 and they are not decremented. Do this 3 times and total number of open endpoints are 6, which the limit. Subsequently, dcd_edpt_counter_available() returns false. When I changed '==' to '>', the problem went away. It makes sense to me. Also the comment implies that it should be '!=' or '>'. Anybody else faced this issue? Am I missing something or thinking it wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Wrong repo, |
Beta Was this translation helpful? Give feedback.
Or you can use tusb without expressif wrapper, check how examples are built.