diff options
| author | Christoph Berg <myon@debian.org> | 2025-09-15 23:04:33 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2025-09-15 23:04:33 +0200 |
| commit | e1c678ef00f0159bbeb5571e5ebb0d4697121334 (patch) | |
| tree | 6547edef81a62a812a4d0f64e03fda226b5f0a7e /Audio/soundin.cpp | |
| parent | b9daa22c4c3ad51cd4bc0ef624a19f21d01c9305 (diff) | |
| parent | 0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff) | |
Update upstream source from tag 'upstream/3.0.0_rc1+repack'
Update to upstream version '3.0.0~rc1+repack'
with Debian dir 68c212e23136fecf9ebc6f12ff355579224d27ee
Diffstat (limited to 'Audio/soundin.cpp')
| -rwxr-xr-x | Audio/soundin.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Audio/soundin.cpp b/Audio/soundin.cpp index affb8104..fc8e08e2 100755 --- a/Audio/soundin.cpp +++ b/Audio/soundin.cpp @@ -109,7 +109,8 @@ void SoundInput::suspend () {
if (m_stream)
{
- m_stream->suspend ();
+// m_stream->suspend ();
+ m_stream->stop(); // better stop and restart audio (fixes issues on Linux and macOS)
checkStream ();
}
}
@@ -124,7 +125,8 @@ void SoundInput::resume () if (m_stream)
{
- m_stream->resume ();
+// m_stream->resume ();
+ m_stream->start (m_sink); // better stop and restart audio (fixes issues on Linux and macOS)
checkStream ();
}
}
|
