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

574 Коммитов

Автор SHA1 Сообщение Дата
Chun-Min Chang 1c6c459922 get vendor name 2018-10-07 16:10:33 -07:00
Chun-Min Chang f17905797b add goals 2018-10-07 15:58:11 -07:00
Chun-Min Chang d3f63d779a todo 2018-10-07 15:55:37 -07:00
Chun-Min Chang 5a21300f18 get data source name 2018-10-07 15:55:01 -07:00
Chun-Min Chang b4818e3173 Set friendly_name to device name 2018-10-07 15:48:06 -07:00
Chun-Min Chang 9e4c523015 dev_into.{device_type, state, format, default_format} 2018-10-07 14:57:38 -07:00
Chun-Min Chang a8626f1cd7 set group_id 2018-10-07 14:44:53 -07:00
Chun-Min Chang c52add7593 impl audiounit_strref_to_cstr_utf8 2018-10-07 14:32:27 -07:00
Chun-Min Chang 0e1ea24150 impl a empty stream 2018-10-07 11:55:52 -07:00
Chun-Min Chang b8521e23f2 Use audiounit_get_default_device_id to set preferred 2018-10-06 18:49:52 -07:00
Chun-Min Chang 32e84e1650 Move tests and add tests for audiounit apis 2018-10-06 18:43:34 -07:00
Chun-Min Chang dbe89218f2 add tests 2018-10-06 18:37:50 -07:00
Chun-Min Chang a0c9c514d4 impl for audiounit_get_channel_count, audiounit_get_devices_of_type, and audiounit_create_device_from_hwdev 2018-10-06 18:21:15 -07:00
Chun-Min Chang 8cbe8b138c dummy implementation for enumerate_devices 2018-10-06 17:38:12 -07:00
Chun-Min Chang a960e4bfb9 Change backend_id 2018-10-05 16:31:18 -07:00
Chun-Min Chang 07856d3a1c rename 2018-10-05 16:30:47 -07:00
Chun-Min Chang cfe8450843 Add lib 2018-10-05 16:20:58 -07:00
Chun-Min Chang 4df011a13b fallback to test implementation 2018-10-05 16:11:30 -07:00
Chun-Min Chang 253939a7bb dummp implementation for enumerate_devices 2018-10-05 14:56:19 -07:00
Chun-Min Chang b567926418 Rust Interfaces to Cubeb APIs
Create empty implementations for all the Cubeb Rust interfaces first. Before implementing the underlying platform-dependent code in Rust, it's better to make sureall the Cubeb APIs are callable from C/C++.

On ther other hands, it's a good opportunity to know how the Cubeb Rust interfaces connect to the Cubeb C interfaces. All the Cubeb Rust interfaces are in `cubeb-rs` (https://github.com/djg/cubeb-rs) git repo. The types and APIs of Cubeb are passed from cubeb-sys to cubeb-core to cubeb-backend, and therefore are called from cubeb-backend to cubeb-core to cubeb-ffi. To implement platform-dependent behavior, a `Context` instance is created and is used to call the platform-dependent APIs based on the platform libraries. The above note are commented verbosely in the code for now. They should be removed once it's ready to publish. Just leave them to make other beginners(like me) know how it works for now.
2018-09-10 16:18:04 -07:00
Chun-Min Chang 8abc327146 Add editorconfig 2018-09-10 11:23:29 -07:00
Chun-Min Chang d9fadc00a8 create a empty cargo library crate 2018-09-10 11:23:03 -07:00
Chun-Min Chang e6286ad199 Add link to cubeb 2018-09-10 11:20:11 -07:00
Chun-Min Chang cc5b1ea551 Add Readme and License 2018-09-10 11:18:00 -07:00