diff options
| author | Dave Hibberd <hibby@debian.org> | 2024-07-23 21:26:34 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2024-07-23 21:26:34 +0100 |
| commit | 4172fa5fdbda80c64e25cb97f27c5b7b4cfee1ea (patch) | |
| tree | b6c2ffb8ae1248ab0e4b0fb9f1bc26119586b1c0 /Waveout.c | |
| parent | e67baf26b150eb848909ebb9f4e13bf6bed3bd0d (diff) | |
| parent | b1d1488de60dfff8b89872f863098a884133852f (diff) | |
Update upstream source from tag 'upstream/0.0.0.72.1'
Update to upstream version '0.0.0.72.1'
with Debian dir 3be9dd1ec6203d09272f9d129187c43762eebbe7
Diffstat (limited to 'Waveout.c')
| -rw-r--r-- | Waveout.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -95,6 +95,8 @@ int PlaybackCount = 0; char CaptureNames[16][256]= {""};
char PlaybackNames[16][256]= {""};
+int txLatency;
+
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 2, 12000, 48000, 4, 16, 0 };
HWAVEOUT hWaveOut = 0;
@@ -190,6 +192,9 @@ void txSleep(int mS) {
// called while waiting for next TX buffer. Run background processes
+ if (mS < 0)
+ return;
+
while (mS > 50)
{
if (SoundMode == 3)
@@ -356,6 +361,7 @@ void GetSoundDevices() HANDLE hStdin;
+int onlyMixSnoop = 0;
int InitSound(BOOL Report)
{
@@ -563,7 +569,7 @@ void PollReceivedSamples() lastlevelGUI = Now;
- if ((Now - lastlevelreport) > 10000) // 10 Secs
+ if ((Now - lastlevelreport) > 60000) // 60 Secs
{
char HostCmd[64];
lastlevelreport = Now;
@@ -703,6 +709,8 @@ extern int Number; // Number of samples waiting to be sent // Subroutine to add trailer before filtering
+extern int SampleNo;
+
void SoundFlush()
{
// Append Trailer then wait for TX to complete
|
