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

574 Коммитов

Автор SHA1 Сообщение Дата
Chun-Min Chang ae20941cc1 Remove useless cast 2019-03-27 11:12:53 -07:00
Chun-Min Chang f7bdee4143 Add error messages 2019-03-26 16:45:45 -07:00
Chun-Min Chang 8ff1c8e5e2 Move more tests 2019-03-26 15:42:23 -07:00
Chun-Min Chang 4ba1dc283f Use TestAudioUnit so the inner AudioUnit will be destroyed automatically 2019-03-26 14:24:20 -07:00
Chun-Min Chang 7e1c207a33 Move tests from backlog to api 2019-03-26 14:00:24 -07:00
Chun-Min Chang 44e85b5ca1 Remove audiounit_stream_destroy 2019-03-26 13:18:04 -07:00
Chun-Min Chang 65babf2d8c Rename 2019-03-25 18:09:54 -07:00
Chun-Min Chang c0f723eb59 Move more tests 2019-03-25 18:08:48 -07:00
Chun-Min Chang 19379bee8a Update some tests for devices compatibility 2019-03-25 16:57:18 -07:00
Chun-Min Chang f68120a6cd Add test_device_channels_in_scope 2019-03-25 16:56:01 -07:00
Chun-Min Chang 890e480ed0 Move test_get_sub_devices 2019-03-25 11:55:13 -07:00
Chun-Min Chang 1ea06f9100 Add test_get_all_devices 2019-03-25 11:55:00 -07:00
Chun-Min Chang 4e7ada57c2 Add Travis CI badge 2019-03-25 11:21:01 -07:00
Chun-Min Chang 4d6b7496ae Fix tests on Travis CI 2019-03-25 10:57:53 -07:00
Chun-Min Chang ef8998404c rename 2019-03-23 15:24:31 -07:00
Chun-Min Chang 307be1b27b Replace 0 by kAudioObjectUnknown (sync with C) 2019-03-22 12:47:03 -07:00
Chun-Min Chang ff8d723049 Travis CI settings 2019-03-19 13:20:48 -07:00
Chun-Min Chang 574c2916a5 Remove gecko patches 2019-03-19 09:38:31 -07:00
Chun-Min Chang b830cb9918 Move more tests 2019-03-18 17:29:36 -07:00
Chun-Min Chang bd625219ee rustfmt 2019-03-18 13:46:32 -07:00
Chun-Min Chang 28bff8c901 Add whitelist for get_{preferred,current}_channel_layout 2019-03-18 13:46:09 -07:00
Chun-Min Chang a6e9750167 Add test_get_default_source_name to utils 2019-03-18 13:44:13 -07:00
Chun-Min Chang 69c764df0b LGTM update 2019-03-18 13:11:02 -07:00
Chun-Min Chang d3cdce7f3e Move tests 2019-03-16 21:33:34 -07:00
Chun-Min Chang f369ca48f1 Add comment for stream init 2019-03-16 08:56:05 -07:00
Chun-Min Chang 73328417a3 Make test_get_stream private since no one uses it 2019-03-15 16:35:06 -07:00
Chun-Min Chang 70f9c351de Move test_get_{current, preferred}_channel_layout_output from test.rs to api.rs 2019-03-15 16:33:18 -07:00
Chun-Min Chang c323d4e31e Add test_get_default_audiounit in test utils 2019-03-15 16:27:01 -07:00
Chun-Min Chang ddd7eed1c2 Fix memory leaks in the tests in dispatch_utils.rs 2019-03-15 16:23:29 -07:00
Chun-Min Chang ee9d493861 run rustfmt 2019-03-15 16:18:00 -07:00
Chun-Min Chang 2d0b6dfd29 Replace AudioDeviceID by AudioObjectID 2019-03-15 15:50:26 -07:00
Chun-Min Chang 8308025ae2 Move more tests from test.rs to api.rs 2019-03-15 14:26:27 -07:00
Chun-Min Chang 7cc1819ece rename test_get_default_device_id to test_get_default_device 2019-03-15 09:03:00 -07:00
Chun-Min Chang c50a1f16dc Don't play tone when there is no output device 2019-03-15 08:56:27 -07:00
Chun-Min Chang 352fc8877e Move more tests from test.rs to api.rs and run rustfmt 2019-03-14 16:53:23 -07:00
Chun-Min Chang 35ef271a2e Remove useless import 2019-03-14 14:52:01 -07:00
Chun-Min Chang a8e35bc32e Test templates: test_get_stream, test_get_empty_stream 2019-03-14 14:33:37 -07:00
Chun-Min Chang fc3ab34ecc Update audiounit_make_silent by a safer implementation 2019-03-14 11:38:36 -07:00
Chun-Min Chang 7a3965aece Move part of tests from test.rs to api.rs 2019-03-13 17:27:59 -07:00
Chun-Min Chang 4f0d9c1127 Create test_get_locked_context that could be reused in tests 2019-03-13 17:27:40 -07:00
Chun-Min Chang c090316771 Rename test_{context, stream}_operation to test_ops_{context, stream}_operation 2019-03-13 16:15:10 -07:00
Chun-Min Chang 5d63445eda update link to test.rs 2019-03-13 15:53:48 -07:00
Chun-Min Chang 515bf374ba Remove unnecessary comments 2019-03-13 14:09:44 -07:00
Chun-Min Chang 798738445e Patches to gecko 2019-03-13 14:09:44 -07:00
Chun-Min Chang c25eac36af Remove debugging log. Add them by a patch 2019-03-13 11:19:33 -07:00
Chun-Min Chang 88add8adf3 Move test.rs to tests/test.rs 2019-03-13 10:40:55 -07:00
Chun-Min Chang 6201e7369b Avoid creating a temporary reference that is immediately dereferenced 2019-03-12 16:33:21 -07:00
Chun-Min Chang 3fdd50ee20 Avoid manual implementation of an assign operation 2019-03-12 16:22:31 -07:00
Chun-Min Chang 79d4aafe12 Remove unnecessary return 2019-03-12 16:20:37 -07:00
Chun-Min Chang e6c844a32c more idiomatic style to declare variables and collapse nested if 2019-03-12 16:18:27 -07:00