mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-17 17:05:50 +00:00
Update AudioStream.c
This commit is contained in:
parent
8846493eb4
commit
5791274cc5
@ -22,7 +22,7 @@ static unsigned short lastSeq;
|
|||||||
// This is much larger than we should typically have buffered, but
|
// This is much larger than we should typically have buffered, but
|
||||||
// it needs to be. We need a cushion in case our thread gets blocked
|
// it needs to be. We need a cushion in case our thread gets blocked
|
||||||
// for longer than normal.
|
// for longer than normal.
|
||||||
#define RTP_RECV_BUFFER (64 * MAX_PACKET_SIZE)
|
#define RTP_RECV_BUFFER (64 * 1024)
|
||||||
|
|
||||||
#define SAMPLE_RATE 48000
|
#define SAMPLE_RATE 48000
|
||||||
|
|
||||||
@ -307,4 +307,4 @@ int startAudioStream(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user