mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-17 17:05:50 +00:00
Fix for the fix :/
This commit is contained in:
parent
f95f152439
commit
a41c064cab
@ -189,8 +189,6 @@ static void DecoderThreadProc(void* context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void stopAudioStream(void) {
|
void stopAudioStream(void) {
|
||||||
AudioCallbacks.cleanup();
|
|
||||||
|
|
||||||
PltInterruptThread(&udpPingThread);
|
PltInterruptThread(&udpPingThread);
|
||||||
PltInterruptThread(&receiveThread);
|
PltInterruptThread(&receiveThread);
|
||||||
PltInterruptThread(&decoderThread);
|
PltInterruptThread(&decoderThread);
|
||||||
@ -207,6 +205,8 @@ void stopAudioStream(void) {
|
|||||||
PltCloseThread(&udpPingThread);
|
PltCloseThread(&udpPingThread);
|
||||||
PltCloseThread(&receiveThread);
|
PltCloseThread(&receiveThread);
|
||||||
PltCloseThread(&decoderThread);
|
PltCloseThread(&decoderThread);
|
||||||
|
|
||||||
|
AudioCallbacks.cleanup();
|
||||||
}
|
}
|
||||||
|
|
||||||
int startAudioStream(void) {
|
int startAudioStream(void) {
|
||||||
|
@ -148,8 +148,6 @@ int readFirstFrame(void) {
|
|||||||
|
|
||||||
/* Terminate the video stream */
|
/* Terminate the video stream */
|
||||||
void stopVideoStream(void) {
|
void stopVideoStream(void) {
|
||||||
VideoCallbacks.cleanup();
|
|
||||||
|
|
||||||
PltInterruptThread(&udpPingThread);
|
PltInterruptThread(&udpPingThread);
|
||||||
PltInterruptThread(&receiveThread);
|
PltInterruptThread(&receiveThread);
|
||||||
PltInterruptThread(&decoderThread);
|
PltInterruptThread(&decoderThread);
|
||||||
@ -170,6 +168,8 @@ void stopVideoStream(void) {
|
|||||||
PltCloseThread(&udpPingThread);
|
PltCloseThread(&udpPingThread);
|
||||||
PltCloseThread(&receiveThread);
|
PltCloseThread(&receiveThread);
|
||||||
PltCloseThread(&decoderThread);
|
PltCloseThread(&decoderThread);
|
||||||
|
|
||||||
|
VideoCallbacks.cleanup();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Start the video stream */
|
/* Start the video stream */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user