mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-17 23:48:20 +00:00
Closes: https://bugs.gentoo.org/963899 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
22 lines
805 B
Diff
22 lines
805 B
Diff
# fixes Bug #https://bugs.gentoo.org/963899
|
|
# Due to changes on the pulseaudio backend >=Qt 692 needs a bytesAvailable() function defined which returns more than zero.
|
|
diff --git a/Modulator/Modulator.hpp b/Modulator/Modulator.hpp
|
|
index fee2877..7203696 100755
|
|
--- a/Modulator/Modulator.hpp
|
|
+++ b/Modulator/Modulator.hpp
|
|
@@ -50,14 +50,12 @@ protected:
|
|
{
|
|
return -1; // we don't consume data
|
|
}
|
|
-#if defined(Q_OS_WIN)
|
|
-// On Windows, bytesAvailable() must return a size that exceeds some threshold
|
|
+// bytesAvailable() must return a size that exceeds some threshold
|
|
// in order for the AudioSink to go into Active state and start pulling data.
|
|
qint64 bytesAvailable () const
|
|
{
|
|
return 8000;
|
|
}
|
|
-#endif
|
|
|
|
private:
|
|
qint16 postProcessSample (qint16 sample) const;
|