Alex Chronopoulos
2d8eb6c05a
resampler: change calculation for in/out frames needed
2016-06-21 15:41:36 +03:00
Alex Chronopoulos
e0acbf2e5e
pulse: Fix realloc of devinfo array.
2016-06-17 16:10:00 +01:00
Matthew Gregan
97b2929691
audiounit: Avoid callocing zero sized devid_array.
2016-06-17 15:41:15 +01:00
Matthew Gregan
bf65eba69e
audiounit: Avoid using uninitialized range when AudioObjectGetPropertyDataSize fails.
2016-06-17 15:39:42 +01:00
Matthew Gregan
dd0d5aae85
audiounit: Return an error when audiounit_get_devices returns no devices.
2016-06-17 15:38:42 +01:00
Matthew Gregan
073c9f0111
Merge pull request #115 from kinetiknz/bump-stack-size
...
Bump the stack size for WASAPI rendering threads.
2016-06-15 15:07:02 +01:00
Paul Adenot
3f750db99d
Bump the stack size for WASAPI rendering threads.
...
In Gecko, webrtc.org code we call from the callback is using big arrays
allocated on the stack, and we're running out of stack space. Bumping it by a
factor of two should be enough.
2016-06-15 14:39:04 +01:00
Paul Adenot
99a5054785
Merge pull request #113 from achronop/test-fixes-for-opensl
...
Test fixes for opensl
2016-06-09 13:26:33 +02:00
Paul Adenot
1b7f7503d4
Merge pull request #112 from achronop/resampler-fixes
...
Resampler fixes
2016-06-09 13:26:25 +02:00
Alex Chronopoulos
b8b4f3f8df
Change stream type from voice to music
2016-06-09 13:31:11 +03:00
Alex Chronopoulos
3176e76702
Change in comment for clarity
2016-06-09 13:26:35 +03:00
Alex Chronopoulos
a676fb76a1
Set stream_type used by Android
2016-06-09 12:45:25 +03:00
Alex Chronopoulos
05f3693272
Change cubeb.h include to implementation-defined
2016-06-09 12:43:51 +03:00
Alex Chronopoulos
abc1a0435c
Return unprocessed number of frames for input only
2016-06-09 11:54:11 +03:00
Alex Chronopoulos
71b17b2d13
Return immediately if user callback return negative
2016-06-09 11:34:31 +03:00
Paul Adenot
74198ddaab
Merge pull request #108 from zamaudio/jack-backend-final
...
Add duplex JACK backend
2016-06-08 12:16:08 +02:00
Matthew Gregan
f207623159
wasapi,winmm: Fix various VS2015 analysis warnings.
2016-06-07 14:14:52 +12:00
Matthew Gregan
71ab5a404e
wasapi: Assert stm is non-NULL before (not after) derefing it.
2016-06-07 12:52:00 +12:00
Damien Zammit
6b55248b2d
Add duplex JACK backend
...
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-06-05 01:08:44 +10:00
Matthew Gregan
d264f18862
Merge pull request #111 from zamaudio/testsanity-fix
...
test_sanity: Fix for zeroing buffers of correct type
2016-06-04 09:32:48 +12:00
Damien Zammit
6e2a74a304
test_sanity: Fix for zeroing buffers of correct type
...
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-06-03 20:17:03 +10:00
Paul Adenot
90abe2654d
Merge pull request #110 from achronop/resampler_out_frames
...
Resampler: correct output for input frames calculation
2016-06-01 18:01:46 +02:00
Alex Chronopoulos
335e238189
Resampler: correct output for input frames calculation
2016-06-01 18:42:08 +03:00
Paul Adenot
5207610646
Add more asserts to try to diagnose Mozilla bug 1274902
2016-05-26 09:02:55 +12:00
Matthew Gregan
2b3d6dc8c4
Merge pull request #106 from kinetiknz/bug1270004
...
winmm,alsa: Make requesting (unimplemented) capture stream non-fatal.
2016-05-06 09:50:34 +12:00
Alex Chronopoulos
368a1dd9e8
audiounit: Handle input render failure.
2016-05-06 09:25:25 +12:00
Matthew Gregan
47a063d873
winmm,alsa: Make requesting (unimplemented) capture stream non-fatal.
2016-05-05 16:19:41 +12:00
Paul Adenot
b576c35549
wasapi: Initialize ouput_buffer/output_frames in case get_output_buffer does not return a value. Fix for BMO #1270135 .
2016-05-05 07:53:41 +12:00
Matthew Gregan
8f8fe5d983
wasapi: Build fix for 17e3048d
.
2016-05-05 07:45:36 +12:00
Matthew Gregan
95b115e10e
wasapi: Fix assert in get_input_buffer() caused by mismatched unit conversion.
2016-05-04 14:00:53 +12:00
Paul Adenot
17e3048d0a
Gecko bug 1268675 - Allow skipping a event to make there is input data in cubeb_wasapi.cpp.
2016-05-03 11:45:49 +02:00
Paul Adenot
d34ef66176
Gecko Bug 1268499 - Lower the audio latency on Linux. r=kinetik
2016-05-03 11:21:47 +02:00
Paul Adenot
44bb549f6e
Fix markup in Windows install instructions.
2016-05-02 15:51:59 +02:00
Paul Adenot
6194d5f4af
When the wasapi rendering loop is stuck and we're shuttin down, leak the thread and continue the shutdown process.
...
It's probably better to not TerminateThread here, because we don't really know
what happened down the stack of the rendering loop, so we just leak it. This
happens during shutdown so it's not really an issue, it's going to be cleaned
up by the OS anyways.
2016-04-28 10:03:28 +02:00
Matthew Gregan
05abb60b99
wasapi: Use eConsole instead of eMultimedia for default device role.
2016-04-26 09:56:27 +12:00
Matthew Gregan
7e14501210
Merge pull request #104 from achronop/old-enums
...
Use old enums for backward compatibility.
2016-04-26 09:52:13 +12:00
Matthew Gregan
6e2ac64d76
wasapi: Up/down mix capture streams when stream formats don't match.
2016-04-26 09:49:08 +12:00
Alex Chronopoulos
d654c426ef
Use old enums for backward compatibility.
2016-04-22 20:14:09 +03:00
Paul Adenot
dbdfb3904d
Merge pull request #102 from achronop/deregister_dev_change_cb
...
Allow NULL callback for deregister
2016-04-22 16:32:06 +02:00
Alex Chronopoulos
f008b5a7cb
Allow NULL callback for deregister
2016-04-21 21:03:45 +03:00
Paul Adenot
b4a60b4d87
Merge pull request #101 from achronop/stream_indev_change
...
Input device change callback
2016-04-21 19:37:58 +02:00
Alex Chronopoulos
ea1bc75d2e
Replace duplicate code by sub methods
2016-04-21 20:03:16 +03:00
Alex Chronopoulos
62d195dbb7
Register cb in the method and remove from stream init
2016-04-21 20:01:17 +03:00
Alex Chronopoulos
2333b80d4e
Out device data source change scope to output
2016-04-21 17:18:26 +03:00
Alex Chronopoulos
ea0bfad7b5
Input device data source change
2016-04-21 17:17:20 +03:00
Alex Chronopoulos
ecad16c7cd
Input device change callback
2016-04-21 15:41:41 +03:00
Paul Adenot
0bc02f9f34
Handle notification registering failure in cubeb_wasapi.cpp.
...
r=kinetik in https://bugzilla.mozilla.org/show_bug.cgi?id=1263514
2016-04-19 13:37:24 +02:00
Matthew Gregan
46d2b5738a
wasapi: Follow up for 727121c5
.
2016-04-19 17:00:29 +12:00
Matthew Gregan
5efab2082d
Merge pull request #100 from ehsan/1265541
...
Make the unique_ptr replacment technique compatible with libc+
2016-04-19 10:24:16 +12:00
Ehsan Akhgari
ebc27b2281
Make the unique_ptr replacment technique compatible with libc++
2016-04-18 17:04:30 -04:00