Граф коммитов

755 Коммитов

Автор SHA1 Сообщение Дата
Alex Chronopoulos 45e379229d Exclude from testing apple specific test. 2016-03-09 23:41:27 +02:00
Alex Chronopoulos 271c4467de Remove pthread link flag fot test ring array 2016-03-09 23:30:45 +02:00
Matthew Gregan 019be81152 Merge pull request #81 from achronop/resampler-link-error-fixes
Fix link error on test_resampler build.
2016-03-10 09:32:35 +13:00
Alex Chronopoulos 038bd2bf10 Dynamic capacity on ring array. 2016-03-09 21:52:10 +02:00
Alex Chronopoulos 55f11f238c Merge AudioBuffer to ring array. 2016-03-09 21:20:13 +02:00
Alex Chronopoulos 7cce388bbc Change buffer init method signature 2016-03-09 18:01:56 +02:00
Alex Chronopoulos 3d8a4e0e3f Remove deep copy and free of devid. 2016-03-09 15:12:02 +02:00
Alex Chronopoulos cc322a9cca Change count to uint. 2016-03-09 13:59:07 +02:00
Alex Chronopoulos 5175d9786b Fix link error on test_resampler build. 2016-03-09 13:27:14 +02:00
Alex Chronopoulos 23e3202d7d Fix after rebase, expected NULL instead of point to 0 int. 2016-03-08 13:26:50 +02:00
Alex Chronopoulos d2679cf56e Use AudioBuffer instead of AudioBufferList 2016-03-08 13:09:03 +02:00
Alex Chronopoulos a2269f494e Separate the assignment from the test 2016-03-08 13:09:03 +02:00
Alex Chronopoulos 86d669178b Change the ambiguous fetch/store names in ring array methods 2016-03-08 13:09:03 +02:00
Alex Chronopoulos 634698acfd Change ring_array_set_data return value. 2016-03-08 13:09:03 +02:00
Alex Chronopoulos b08fd093d7 Remove synchronization from ring array 2016-03-08 13:09:03 +02:00
Alex Chronopoulos 6c782af0e7 Apply various review comments. 2016-03-08 13:09:03 +02:00
Alex Chronopoulos ce30446ba5 Remove mutex assert and reword devid comment 2016-03-08 13:09:03 +02:00
Alex Chronopoulos 91200251d9 Formating, typo and local var rebaming. 2016-03-08 13:09:03 +02:00
Alex Chronopoulos 6b2c610ec8 Implement full-duplex for audiounit backend. 2016-03-08 13:09:03 +02:00
Matthew Gregan ac4332e18f Merge pull request #80 from padenot/resampler-fixes
Resampler fixes
2016-03-08 11:04:14 +13:00
Matthew Gregan c0b6559436 Merge pull request #79 from landryb/bug-1153151-1153179
sndio: merge fixes from Alexandre Ratchov.
2016-03-08 10:54:07 +13:00
Paul Adenot 7fc497bc09 Add a test to make sure draining works properly when using a resampler. 2016-03-07 16:35:57 +01:00
Paul Adenot 43b70df9ae Add a test for output-only-noop-resampling. 2016-03-07 16:12:25 +01:00
Paul Adenot 5e39aec4c8 Warning fix on MSVC 2013. 2016-03-07 15:29:23 +01:00
Paul Adenot 3f98f28157 Implement draining in resamplers.
What can happen is that when the client attempt to start draining, there is
still some audio in the internal resampler buffer (because of the resampler
latency and the resampler safety margin), so we account for that, and we make
sure all the samples are output to the system API so that we don't cut the end
of the audio stream.
2016-03-07 15:27:21 +01:00
Paul Adenot 414888142d Make the noop_resampler work in output-only mode, by null-checking the pointers. 2016-03-07 15:17:51 +01:00
Alexandre Ratchov af33b71675 Bug 1153179 - fix latency reporting in libcubeb sndio 2016-03-07 11:21:58 +01:00
Alexandre Ratchov 658d7eba38 Bug 1153151 - make libcubeb sndio use non-blocking i/o 2016-03-07 11:21:08 +01:00
Matthew Gregan 9c2765f645 Merge pull request #77 from makotokato/android
Unnecessary to check Android version if android api level > 10
2016-03-02 15:06:23 +13:00
Makoto Kato c7f8738230 Unnecessary to check Android version if android api level > 10
Android/arm64 doesn't export __system_property_get on NDK.  So we shouldn't this API to API level, and, API level is already 10+, it is unnecessary to check whether JB MR1.
2016-03-02 10:37:22 +09:00
Matthew Gregan 251340685f Merge branch 'padenot-wasapi-duplex' 2016-03-02 11:32:38 +13:00
Matthew Gregan b57a488448 Merge padenot-wasapi-duplex. 2016-03-02 11:32:22 +13:00
Paul Adenot 23d58d6002 Review comments: factor out the duplicated part of setup_wasapi_stream.
The output side has more interfaces, namely the volume and the clock. These are
handled separately.
2016-02-29 10:09:22 +01:00
Paul Adenot db660b21da Review comments: Refactor refill callback function to share more code. 2016-02-29 10:09:21 +01:00
Paul Adenot 537f6cd23f Review comments: Refactor wasapi_stream_start to avoid duplication.
wasapi_stream_stop is longer when refactored this way, so I've left it alone.
2016-02-29 10:09:19 +01:00
Paul Adenot 30cff99dc9 Review comments: Release the enumerator to avoid a leak. 2016-02-29 10:09:18 +01:00
Paul Adenot 98d4eb3959 Review comments: No blank line between a system call and the error check. 2016-02-29 10:09:17 +01:00
Paul Adenot 7b2d3606cb Review comments: Re-indent and re-tab properly. 2016-02-29 10:09:16 +01:00
Paul Adenot 0c9f871e71 Review comments: Disable the max macro of windows.h. 2016-02-29 10:09:16 +01:00
Paul Adenot 6f131137f4 Review comments: Sort out the unicode issues with MinGW.
This seems to work on both VC++ and MinGW, I have the same MinGW version as
Travis.
2016-02-29 10:09:15 +01:00
Matthew Gregan 55b508a81d opensl: Remove unused variable in opensl_get_preferred_sample_rate. 2016-02-29 14:51:48 +13:00
Matthew Gregan dc6bc47658 resampler: Work around lack of std::unique_ptr in Gecko builds. 2016-02-29 14:47:13 +13:00
Matthew Gregan e1f4e34828 opensl: Update for resampler API changes. 2016-02-29 12:47:46 +13:00
Matthew Gregan 3ec5a7d606 Remove test/test_duplex binary added accidentally. 2016-02-29 12:37:15 +13:00
Matthew Gregan 1a03dbc2ab Remove duplicate copy of audiotrack_definitions.h. 2016-02-26 15:42:09 +13:00
Matthew Gregan beba722f1a Exorcise cubeb-stdint.h generation. 2016-02-26 15:20:12 +13:00
Matthew Gregan 06a0e20d1c Merge pull request #76 from komh/master
kai: Fix build after API changes for full-duplex streams
2016-02-22 10:26:20 +13:00
KO Myung-Hun 95eb3e0593 kai: Fix build after API changes for full-duplex streams 2016-02-21 15:50:35 +09:00
Paul Adenot f30ead46e7 MinGW fixes 2016-02-19 17:30:30 +01:00
Paul Adenot 870b61cfb4 Implement input and duplex streams in the WASAPI backend. 2016-02-19 16:47:29 +01:00