1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
Commit Graph

4302 Commits

Author SHA1 Message Date
sudden6
d22b7cb140 make qt version in about window copy paste able 2016-01-31 23:17:43 +01:00
tux3
1f03ed11ad
Merge branch 'pr2908' 2016-01-31 19:34:30 +01:00
RowenStipe
6e1b7b3464 Fix travis trying to pull qTox 2016-01-31 12:16:19 -05:00
tux3
b1731baadc
Merge branch 'pr2905' 2016-01-31 17:46:30 +01:00
RowenStipe
0e9347cff1 Revert change 2016-01-31 11:39:58 -05:00
RowenStipe
62e0679032 Quick changes for clarity 2016-01-31 11:32:24 -05:00
RowenStipe
fa5cd325ed Updated Compiling instructions 2016-01-31 11:27:00 -05:00
RowenStipe
6d9551b1fd Updated script to work on user machines and not just travis. 2016-01-31 11:25:38 -05:00
Zetok Zalbavar
0dae1a6af0
docs: put in INSTALL.md info about installing qTox from Arch repo
thanks to @DX37 for the info in #2900
2016-01-31 12:43:53 +00:00
tux3
7a846b85e0
Merge branch 'pr2894' 2016-01-30 18:21:20 +01:00
sudden6
25359d55b5 Fix proxy set only after request sent. 2016-01-30 00:15:14 +01:00
sudden6
53330daab7 toxme now supports proxies 2016-01-29 23:30:07 +01:00
Zetok Zalbavar
3307855130
travis build script: fix copyright date 2016-01-27 19:06:32 +00:00
Zetok Zalbavar
3723f4b465
osx build script: fix building on travis
copy libs/headers required by qTox into `libs/`
2016-01-27 03:08:58 +00:00
Zetok Zalbavar
0abeaa4b62
osx build script: install vpx and opus 2016-01-26 18:36:37 +00:00
Zetok Zalbavar
529349d8d3
osx build script: install toxcore into libs/ 2016-01-26 17:09:44 +00:00
RowenStipe
3a452a700f
General clean up 2016-01-26 16:22:06 +00:00
Zetok Zalbavar
5a02091441
Fix osx travis - use bootstrap-osx.sh 2016-01-26 16:21:10 +00:00
RowenStipe
ab769d1175
Updated libsodium check 2016-01-26 13:50:36 +00:00
Zetok Zalbavar
75607bcecc
Add travis (again)
Beside making it work again, there are some improvements:

Linux side:

* use minimal supported Qt version, currently it's 5.3
* use minimal supported GCC version, currently 4.8
* use newer ffmpeg version to compile against - 2.8.5
* compile qTox 2 times, first run without support for optional dependencies
* use ubuntu 14.04 for building (less deps needs to be compiled/added from PPAs)

OSX:
* add osx to build targets
2016-01-26 13:33:39 +00:00
Zetok Zalbavar
a3802bd586
Merge pull request #2861 from RowenStipe:Travis
fixed small issue with functions
2016-01-26 12:37:50 +00:00
RowenStipe
cc4dd1ab0f fixed small issue with functions 2016-01-26 07:28:07 -05:00
Zetok Zalbavar
cd3cce7f6e
Merge pull request #2860 from RowenStipe:Travis
RowenStipe (2):
      Added script to set up OS X clients to build qTox
      Added copyright header
2016-01-26 12:06:04 +00:00
RowenStipe
f6d7033b51 Added copyright header 2016-01-26 06:55:28 -05:00
RowenStipe
36ecde07da Added script to set up OS X clients to build qTox 2016-01-26 06:52:15 -05:00
tux3
c82e41ff6f
Properly ifdef filteraudio usage 2016-01-25 16:35:45 +01:00
tux3
9251f1f4ca
Fix #2854: Missing noexcept in Audio 2016-01-25 16:27:18 +01:00
Zetok Zalbavar
3343645b61
Merge pull request #2835 from agilob:login_form_style
agilob (4):
      Fix label text colour in login profile
      Loginpage: Apply black colour to qcheckbox as well
      Loginpage: Apply black colour to progressbar
      Make disabled checkbox gray
2016-01-24 14:42:35 +00:00
Zetok Zalbavar
88198a244d
Merge pull request #2851 from mahmodemos:add_ar_lang
Adding arabic language file to the languages list
2016-01-24 14:30:46 +00:00
محمود العموش
fdd956779d Adding arabic language file to the languages list 2016-01-24 14:29:52 +02:00
Nils Fenner
26e7bde991
initialize OpenAL error stack 2016-01-23 16:45:25 +01:00
tux3
87c4907054
Remove redundant source init code 2016-01-23 16:45:25 +01:00
tux3
a2fbc277fc
Replace audio check macros by functions 2016-01-23 16:45:25 +01:00
tux3
6cad8d8fe9
Remove redundant check starting audio thread
Thanks to @antis81 for spotting it
2016-01-23 16:45:25 +01:00
tux3
6425448196
Implement the playMono16Sound API sanely
This API used to start *A NEW THREAD* for every sound played!!

Now we simply have a dedicated source and buffer to play those sounds, we use a timer to cleanup the buffer 50ms after the sound is done playing (if a new sound hasn't started in the meantime)
2016-01-23 16:45:25 +01:00
tux3
f57bf331d6
Fix avform mic slider enabling 2016-01-23 16:45:25 +01:00
tux3
ce2f8fd1d5
Cleanup and improve audio input
We now subscribe to an event and wait for frames when capturing audio
input, the big avdantage is that we only have to fetch the frames from
the hardware once, and we don't need to cache anything.
The frames are simply dispatched to the client's callbacks immediately.

Also removes some outdated ifdefs that did not apply anymore.
2016-01-23 16:45:25 +01:00
tux3
0a1833a74b
Un-pimpl
This makes the code much shorter and easier to follow, especially since AudioPrivate was right in the middle of audio.cpp, awkwardly splitting things in two

Compile times should not be substantially affected since we just need to include the OpenAL C headers
2016-01-23 16:45:25 +01:00
tux3
fb68d3750c
Cleanup mic feedback related code
It simply doesn't work, so let's do it right later
2016-01-23 16:45:25 +01:00
Nils Fenner
ffbd8fba91
do not warn, when requesting the volume from an invalid audio device
Instead, we return a defined value (0.0) and keep quiet otherwise.
2016-01-23 16:45:25 +01:00
Nils Fenner
da6bed19b2
enable volume sliders only, if a valid audio device is selected 2016-01-23 16:45:25 +01:00
Nils Fenner
f4f77af071
add "play test sound" button, while changing volume 2016-01-23 16:45:25 +01:00
Nils Fenner
6f7df25f4a
initialize gain/volume after initialization of audio in/out device
The gain/volume values are now applied to the settings once, when releasing the slider instead of continuously.
2016-01-23 16:45:25 +01:00
Nils Fenner
719def932b
remove unneeded "setCurrentIndex(-1)", when reading audio in/out device lists
The combo boxes current index is set to the correct value at end of initialization loop.
2016-01-23 16:45:25 +01:00
Nils Fenner
9b5c799742
fix getter for audio master output volume
Return the ALListener's gain as "master" volume.
2016-01-23 16:45:25 +01:00
Nils Fenner
086e35d106
use utf-8 strings for audio device specifiers 2016-01-23 16:45:25 +01:00
Nils Fenner
e1f7e553ab
initialize volume sliders in av-settings ui at the right place 2016-01-23 16:45:25 +01:00
Nils Fenner
7d547b10eb
major changes to audio volume control
* use the ALListener object for master volume control
* initialize audio sources
* audio volumes are now expressed as percentage values between 0 and 1 to the public API
* removed artificial amplification of input samples
* removed invalid audio source generation in group calls
* minor: fixed gain slider max. value to 100 percent
2016-01-23 16:45:25 +01:00
Nils Fenner
1fb4d0d9f3
clean up audio settings ui 2016-01-23 16:45:25 +01:00
Nils Fenner
a6024b85ea
initialize a subscribed audio source with "master" volume instead of "max." 2016-01-23 16:45:25 +01:00