-
Hi Experts Could you help give some help on below question? Even stream_->requestStart failed, a valid stream may already be opened, do we need call stream_->stop and stream_->close explicitly, or just leave it and let oboe release it automatically? |
Beta Was this translation helpful? Give feedback.
Answered by
philburk
Nov 22, 2021
Replies: 1 comment
-
You don't need to stop it because it failed to start. You should always close() streams as soon as you are done using them so that other apps can have access to the audio resources. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
philburk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You don't need to stop it because it failed to start.
But since the open succeeded you should close it.
You should always close() streams as soon as you are done using them so that other apps can have access to the audio resources.