Ryan Huffman
aa47043d57
Fix WAV file support
...
The previous implementation assumed the file only contained RIFF, WAVE,
fmt, and data chunks. It is valid for other chunks to appear, so I
updated it to skip any chunks until it finds the "data" chunk.
2014-05-27 11:24:48 -07:00
Stephen Birarda
a9c2e3fe71
put back ssize_t definition
2014-05-20 11:56:06 -07:00
Stephen Birarda
0e7615391c
don't look for GnuTLS from cmake
2014-05-20 10:35:04 -07:00
Stephen Birarda
304e30e9d8
Merge pull request #2818 from birarda/stop-sound
...
make sure shouldStop for injector defaults to false
2014-05-08 11:12:47 -07:00
Stephen Birarda
a8a53e35dd
make sure shouldStop for injector defaults to false
2014-05-08 11:12:16 -07:00
Philip Rosedale
6762d4d63c
Merge pull request #2816 from birarda/stop-sound
...
add interface to Audio to stop injector and see if playing
2014-05-07 20:59:58 -07:00
Stephen Birarda
f78c81e073
add interface to Audio to stop injector and see if playing
2014-05-07 17:48:01 -07:00
Philip Rosedale
c6fa903d6f
Merge pull request #2813 from birarda/stop-sound
...
return an injector from playSound and allow call to stop it
2014-05-07 16:59:00 -07:00
Stephen Birarda
99ee6ae8af
return an injector from playSound and allow user to stop it
2014-05-07 16:26:32 -07:00
Stephen Birarda
5e9036b3fe
tweak audio constants to be less agressive on cutoff
2014-05-07 15:37:41 -07:00
Atlante45
ab76e6a00c
Merge branch 'master' of https://github.com/highfidelity/hifi into removed_gettimeofday
...
Conflicts:
interface/src/Audio.cpp
2014-04-21 12:19:19 -07:00
Stephen Birarda
72fe9b94b1
fix property in sound
2014-04-18 14:48:26 -07:00
Stephen Birarda
c1e54d370c
change Sound property to hasDownloaded
2014-04-18 14:46:56 -07:00
Stephen Birarda
92f2794ea8
add a property to Sound to tell if empty
2014-04-18 14:26:56 -07:00
Stephen Birarda
aa5d7aa0b1
fix incorrectly named slot in Sound
2014-04-18 13:58:33 -07:00
Stephen Birarda
3b8cf8c172
fix mixed signal and slot
2014-04-18 13:55:22 -07:00
Stephen Birarda
6ef4e145c5
add better Sound error handling
2014-04-18 13:51:58 -07:00
Atlante45
d34e6ff864
Removed gettimeofday in AudioInjector
2014-04-16 12:01:41 -07:00
ZappoMan
bdf39186de
Merge branch 'master' of https://github.com/worklist/hifi into moonshot
2014-04-15 21:04:15 -07:00
ZappoMan
579710e4bd
some cleanup
2014-04-15 13:36:20 -07:00
ZappoMan
7a993939bf
Merge branch 'master' of https://github.com/worklist/hifi into moonshot
...
Conflicts:
interface/interface_en.ts
interface/src/Application.cpp
interface/src/Application.h
interface/src/Menu.h
libraries/shared/src/SharedUtil.h
2014-04-14 09:43:29 -07:00
Stephen Birarda
54647f0f08
make sure gnutls define for ssize_t comes before gnutls include
2014-04-10 10:27:08 -07:00
Stephen Birarda
2518d314ac
add ssize_t definition for gnutls.h include on Windows
2014-04-10 10:19:45 -07:00
Stephen Birarda
16bb28a4fa
make GnuTLS a system include to suppress warnings
2014-04-10 10:04:02 -07:00
Stephen Birarda
68c445e718
link GnuTLS to targets linking the networking library
2014-04-10 10:00:10 -07:00
Stephen Birarda
d5d52f804f
add a networking library and link from appropriate targets
2014-04-10 09:32:17 -07:00
Stephen Birarda
1c861fbecb
resolve conflicts on merge with upstream master
2014-04-09 15:36:15 -07:00
Stephen Birarda
ae4b8348a2
fix header include guards via regex
2014-04-09 12:03:17 -07:00
Stephen Birarda
2d755adfc0
repairs to good code blown away by regex
2014-04-09 10:46:20 -07:00
Stephen Birarda
684c6b5372
run regex header replacement on all cpp files
2014-04-09 09:35:42 -07:00
Stephen Birarda
6a51df9e38
initial regex replacement of headers
2014-04-08 17:30:36 -07:00
ZappoMan
b56e0ff3d4
tweaks to audioring buffer
2014-04-04 07:04:48 -07:00
ZappoMan
3808cfa83d
latest work
2014-04-03 08:55:48 -07:00
ZappoMan
42efb0db65
glue in processSpatialAudio()
2014-04-02 18:18:17 -07:00
Stephen Birarda
e1cae6d295
initial handshaking for DTLS sessions between DS and clients
2014-04-02 17:29:14 -07:00
Stephen Birarda
e2b230445f
add a method to Agent for last read frame loudness
2014-03-26 10:28:59 -07:00
Andrew Meadows
c0177e80a7
use glm::isnan() everywhere for portable code
2014-03-25 09:56:15 -07:00
Stephen Birarda
af4fb26031
floats are important
2014-03-21 18:44:59 -07:00
Stephen Birarda
abd6c8a747
fix trailing average on ring buffer, remove unused constant
2014-03-21 18:28:12 -07:00
Stephen Birarda
bad209bf09
use a trailing average for a quieter loudness
2014-03-21 15:53:00 -07:00
Stephen Birarda
1580896ec4
don't use a trailing average for loudness
2014-03-21 11:42:02 -07:00
Stephen Birarda
5a6456c29f
use an epsilon value to drop average loudness to zero
2014-03-21 11:29:16 -07:00
Stephen Birarda
6f37bb54f8
suppress useless audio debug
2014-03-21 10:19:17 -07:00
Stephen Birarda
5ae63c5b0f
use a trailing average for sleep time, move loudness to RB
2014-03-20 17:10:24 -07:00
Stephen Birarda
a8ef64e0ce
calculate a cutoff loudness for mixer recovery
2014-03-20 12:52:17 -07:00
Stephen Birarda
f80a077637
fix memory overrun from silent sample writing
2014-03-18 13:33:29 -07:00
Stephen Birarda
9fbb4f1428
spacing fix and silent sample read fix
2014-03-18 13:04:28 -07:00
Stephen Birarda
e7acd0bad3
don't use QDataStream in parseData since we don't really need it
2014-03-18 12:58:29 -07:00
Stephen Birarda
7ed982a073
cleanup writing of silent frame to ring buffer
2014-03-18 11:12:36 -07:00
Stephen Birarda
61594b9a1e
fixes to silent audio frame sending
2014-03-17 16:27:49 -07:00