Skip to content
Snippets Groups Projects
Commit 8390f94f authored by Leo Ma's avatar Leo Ma
Browse files

Quit PCM loop on interrupt


Signed-off-by: default avatarLeo Ma <begeekmyfriend@gmail.com>
parent 6c7bfa55
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -98,7 +98,7 @@ public class SrsPublisher {
// This is trivial...
Thread.sleep(20);
} catch (InterruptedException e) {
// Do nothing
break;
}
} else {
int size = mic.read(mPcmBuffer, 0, mPcmBuffer.length);
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment