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

156 Commits

Author SHA1 Message Date
Diadlo
06ae7ead0c
fix: Fix usage of unitialized functions 2018-06-12 22:46:48 +03:00
sudden6
a3370173df
fix(audio): close the audio device after playing a sound
This bug was uncovered by 65896e4501
because this sound now happens after the call is closed, but doesn't
close the audio device.
2018-05-15 21:14:06 +02:00
Anthony Bilinski
65896e4501
feat(call): add call end sound
Fix #4905
2018-04-26 12:49:58 -07:00
Anthony Bilinski
5dc4e6de81
chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
Anthony Bilinski
1583991fb4
refactor(avform): simplify and standardize sliders, use RMS for volume
Also improve usefulness of volume bar by including gain, clipping, and activation threshold. Remove magic numbers. Clear volumue display when mic is disabled.

Fix #4893
2018-04-12 10:34:42 -07:00
Anthony Bilinski
f6622e4092
fix(audio): apply gain to both audio channels
Fix #5039
2018-04-11 18:25:39 -07:00
Anthony Bilinski
5d0f9509a8
fix(audio): move audio timers to and start from audioThread
Fix #5053
2018-04-11 10:50:44 -07:00
sudden6
d01999814e
chore: fix some compiler warnings 2018-02-01 20:32:39 +01:00
Diadlo
e74cc37a2d
fix: Use real channels number 2018-01-20 14:07:22 +03:00
Diadlo
e3f3d5e3b1
refactor: Override only 'doOutput' and 'captureSamples' in OpenAL2 2018-01-20 14:07:22 +03:00
Diadlo
c33592be06
style: Fix style 2018-01-20 14:07:22 +03:00
Diadlo
900f2a1ad3
fix: Allocate memory to input buffer 2018-01-20 14:07:22 +03:00
Diadlo
2353a66fde
fix: Call doAudio on timer timeout
Fix #4904
2018-01-20 14:07:22 +03:00
Pavel Karelin
0869d3d8fd fix: elimination of warning '-Wreorder' 2017-12-17 20:59:09 +03:00
Gavin Stark
d24d4fb8ea feat(audio): microphone voice activation
adding volume based voice detection
2017-11-13 00:48:46 -06:00
Diadlo
44258b01f5
refactor(audio): Add audio settings interface 2017-11-10 23:27:06 +03:00
sudden6
d2adfe4ca7
refactor: fix some warnings reported with "-Wall" 2017-10-31 09:32:52 +01:00
Zetok Zalbavar
c089c80e53
fix: remove unused variables 2017-10-08 12:44:56 +01:00
Diadlo
aa356bb73a
fix(audio): Fix signed and unsigned comparation 2017-09-26 21:00:39 +03:00
sudden6
7f3887f67c
refactor(audio): fix some remarks from review 2017-08-05 21:25:15 +02:00
sudden6
8652fe99e3
feat(audio): make the libfilteraudio dependency optional 2017-08-05 21:25:14 +02:00
sudden6
e1da943e4e
refactor(audio): move channel count to audio backend 2017-08-05 21:25:13 +02:00
sudden6
8f2401fee6
fix(build): add install steps for libfilteraudio on OSX 2017-08-05 21:25:01 +02:00
sudden6
526701fa9f
fix(build): make the OpenAL backend build with OpenALSoft < 1.15
This is needed for Ubuntu 14.04 which we use on Travis CI.
2017-08-05 21:12:34 +02:00
sudden6
1914f52cdf
chore(audio): format code 2017-08-05 21:12:34 +02:00
sudden6
9d0498e0cf
feat(audio): add setting to switch between new and old audio backend 2017-08-05 21:12:33 +02:00
sudden6
809c5e6b04
fix(audio): Echo cancelling supports only mono audio 2017-08-05 21:12:33 +02:00
sudden6
c34999c9d0
refactor(audio): simplify the code 2017-08-05 21:12:33 +02:00
sudden6
5d60f09df4
feat(audio): make echo cancellation work and improve some minor stuff 2017-08-05 21:12:33 +02:00
sudden6
9c603e8654
feat(audio): add libfilteraudio 2017-08-05 21:12:33 +02:00
sudden6
c715729167
feat(audio): add alternative OpenAL backend 2017-08-05 21:12:32 +02:00
Alice Weigt
a06ad7048e feat(audio):OutgoingCallSound
Adds outgoing call sound when call is started
2017-06-14 15:19:30 -07:00
sudden6
a3b234e6dd
chore(formatting): run clang-format 2017-06-01 09:50:59 +02:00
sudden6
28c2298ad9
feat(audio): split the audio interface from the backend library
This paves the way to support multiple audio backends
2017-05-08 10:37:05 +02:00
sudden6
b68ad4ced2
feat(audio): don't use dynamic memory allocation and remove resource leak 2017-04-14 09:09:56 +02:00
sudden6
300ac12e3f
fix: silence warning by not using dynamic arrays on stack 2017-03-19 19:27:50 +01:00
Zetok Zalbavar
80f5de31b3
style: reformat current C++ codebase using clang-format 2017-02-26 11:52:45 +00:00
sudden6
39b473cc86
Merge pull request #3309
Nils Fenner (1):
      refactor(audio): remove obsolete signal "groupAudioPlayed"
2017-02-08 13:32:47 +01:00
Zetok Zalbavar
d4ac13dbf4
revert: "refactor: Added to include path and exclude it from all includes"
Revert needed, since otherwise there is no way to do automatic sorting
of includes.
Also reverted change to the docs, as leaving it would make incorrect
docs.

In case of conflicts, includes were sorted according to the coding
standards from #3839.

This reverts commit b4a9f04f92.
This reverts commit 5921122960.
2016-12-29 16:10:53 +00:00
Zetok Zalbavar
7b60a5dd36
chore: explicitly mention that copyright belongs to qTox contributors 2016-11-29 11:12:06 +00:00
Diadlo
b4a9f04f92
refactor: Added to include path and exclude it from all includes 2016-11-28 23:28:42 +03:00
Zetok Zalbavar
64bbc6cfbb
style: change postfix increment to prefix increment 2016-11-03 07:57:14 +00:00
Alice Weigt
244d1dc386 fix(audio): Clear audio buffer when ending audio loop 2016-10-26 02:20:50 -07:00
Diadlo
d674722118
Merge pull request #3755
Alice Weigt (1):
      fix(settings): Play test sound when user enables test sound
2016-10-09 14:55:45 +03:00
Alice Weigt
9b46cf6404 fix(settings): Play test sound when user enables test sound
Fixes #3735
2016-10-09 04:37:15 -07:00
Keegan Drake H.P
099d7d0ac6 style(audio): remove redundant checks in src/audio/audio.cpp
This change removes an unnecessary ternary expression from both
Audio::initInput and Audio::initOutput.
2016-10-06 04:26:06 -05:00
Keegan Drake H.P
af37fa7b20 fix(audio): keep the data pointed to by tmpDevName in scope
Fix the use after free in Audio::initInput and Audio::initOutput
by storing the buffer returned by QString::toUtf8 (which contains data
pointed to by tmpDevName) in an intermediate variable, preventing the
buffer from falling out of scope for the duration of the function.

Fixes #3786
2016-10-06 02:33:58 -05:00
Diadlo
72780e6c7a
docs(todo): Changed todo format 2016-08-19 00:20:24 +03:00
Diadlo
31d8e7eef0
docs: Replaced simple on doxygen tag 2016-08-19 00:20:23 +03:00
Diadlo
672744de96
docs(audio, video): Added leading stars 2016-08-19 00:20:23 +03:00