FreeBSD Bugzilla – Attachment 177590 Details for
Bug 214393
net-im/qTox: Errors: "Cannot open audio output" when PULSEAUDIO disabled in audio/openal-soft
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
qTox.patch (text/plain), 2.32 KB, created by
Yuri Victorovich
on 2016-12-02 05:15:27 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2016-12-02 05:15:27 UTC
Size:
2.32 KB
patch
obsolete
>Index: net-im/qTox/Makefile >=================================================================== >--- net-im/qTox/Makefile (revision 427473) >+++ net-im/qTox/Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= qTox > PORTVERSION= 1.5.2 >+PORTREVISION= 1 > DISTVERSIONPREFIX= v > CATEGORIES= net-im net-p2p > >Index: net-im/qTox/files/patch-src_audio_audio.cpp >=================================================================== >--- net-im/qTox/files/patch-src_audio_audio.cpp (nonexistent) >+++ net-im/qTox/files/patch-src_audio_audio.cpp (working copy) >@@ -0,0 +1,32 @@ >+--- src/audio/audio.cpp.orig 2016-12-02 04:06:35 UTC >++++ src/audio/audio.cpp >+@@ -352,10 +352,10 @@ bool Audio::initInput(const QString& dev >+ const uint32_t chnls = AUDIO_CHANNELS; >+ const ALCsizei bufSize = (frameDuration * sampleRate * 4) / 1000 * chnls; >+ >+- const ALchar* tmpDevName = deviceName.isEmpty() >+- ? nullptr >+- : deviceName.toUtf8().constData(); >+- alInDev = alcCaptureOpenDevice(tmpDevName, sampleRate, stereoFlag, bufSize); >++ alInDev = alcCaptureOpenDevice(deviceName.isEmpty() >++ ? nullptr >++ : deviceName.toUtf8().constData(), >++ sampleRate, stereoFlag, bufSize); >+ >+ // Restart the capture if necessary >+ if (!alInDev) >+@@ -386,11 +386,9 @@ bool Audio::initOutput(const QString& de >+ qDebug() << "Opening audio output" << deviceName; >+ assert(!alOutDev); >+ >+- const ALchar* tmpDevName = deviceName.isEmpty() >+- ? nullptr >+- : deviceName.toUtf8().constData(); >+- alOutDev = alcOpenDevice(tmpDevName); >+- >++ alOutDev = alcOpenDevice(deviceName.isEmpty() >++ ? nullptr >++ : deviceName.toUtf8().constData()); >+ if (!alOutDev) >+ { >+ qWarning() << "Cannot open output audio device" << deviceName; > >Property changes on: net-im/qTox/files/patch-src_audio_audio.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
yuri
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 214393
:
177590
|
177616