/[packages]/backports/4/mumble/current/SOURCES/mumble-1.2.5-fdr-compile-fix.patch
ViewVC logotype

Contents of /backports/4/mumble/current/SOURCES/mumble-1.2.5-fdr-compile-fix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 818075 - (show annotations) (download)
Sat Mar 7 20:51:12 2015 UTC (9 years, 1 month ago) by daviddavid
File size: 510 byte(s)
- backport mumble from Mageia 4 standard branch 
- new version: 1.2.8 (now added Opus support)
- sync with current Cauldron (mga5)

1 diff -uNr mumble-1.2.5.old/src/mumble/OSS.cpp mumble-1.2.5/src/mumble/OSS.cpp
2 --- mumble-1.2.5.old/src/mumble/OSS.cpp 2014-02-01 00:01:49.000000000 +0100
3 +++ mumble-1.2.5/src/mumble/OSS.cpp 2014-04-28 01:45:06.222094486 +0200
4 @@ -243,9 +243,9 @@
5 eMicFormat = SampleShort;
6 initializeMixer();
7
8 - short buffer[iMicLength];
9 -
10 while (bRunning) {
11 + short buffer[iMicLength];
12 +
13 int len = static_cast<int>(iMicLength * iMicChannels * sizeof(short));
14 ssize_t l = read(fd, buffer, len);
15 if (l != len) {

  ViewVC Help
Powered by ViewVC 1.1.30