delayed response from audio_state_changed. #443
-
Hi, i'm building a project with lcd using lvgl and your librarie, and i'm trying to solve a small question, when i made the "play" command on my smartphone the response don´t have a visible delay but when i made the "pause" command it takes a while to answer. it's the part of code where i implement this function.
Here is a video showing this delay happend. WhatsApp.Video.2023-07-25.at.19.37.24.mp4any help would be appreciated. :) |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
I can't really see any bug here. |
Beta Was this translation helpful? Give feedback.
-
I see the same behavior. |
Beta Was this translation helpful? Give feedback.
-
Yes, but isn't this quite logical: When the task queue is empty (at the start), you will get the result immediately and when the queue is filled with audio data (while playing) it takes it's time to arrive. You could try to decrease the queue size, but I don't think that this is a good idea... |
Beta Was this translation helpful? Give feedback.
-
I have experienced the same when connected from a Samsung phone, when connected from a Windows 10 laptop the response was much quicker (about as i would excpect). might be a lack of understanding the library that is the problem |
Beta Was this translation helpful? Give feedback.
I can't really see any bug here.
Why don't you just set the log level to debug to see what's going on in detail ?