Commit Graph

108 Commits

Author SHA1 Message Date
Keith Au
cd8e46308f renamed xua_api.h to xua_usb_params_funcs.h 2020-02-28 17:14:47 +08:00
Keith Au
dbaf66fdb2 removed #if XC check 2020-02-28 17:08:58 +08:00
Keith Au
d3f2220be4 added xua_api.h for extern declaration of get/set_usb_to/from_device_rate/res APIs and removed from c/xc files 2020-02-28 15:53:27 +08:00
shuchitak
050d7757bc removed unused defines 2020-02-18 09:04:57 +00:00
Keith Au
6402051165 Merge branch 'develop' into feature/configurable_rate_res 2020-02-14 17:05:57 +08:00
Keith Au
76f12ccad6 rename default frequency naming 2020-02-13 16:35:21 +08:00
lucianom
c8da4ca8f6 Fix typo 2020-02-11 16:54:48 +00:00
Keith Au
86c8bc9128 commit after updating to latest develop branch on 10 Feb 2020 2020-02-11 12:07:27 +08:00
Keith Au
d5d9c6ebc4 Merge branch 'develop' of github.com:xmos/lib_xua into feature/configurable_rate_res 2020-02-10 10:31:33 +08:00
lucianom
bef8fad109 Add new API functions for VID and PID 2020-02-07 19:17:24 +00:00
Keith Au
a46c8b134a added default values for bit resolutions 2020-01-31 17:06:04 +08:00
Larry Snizek
8666722798 Library checks 2020-01-21 16:45:54 +00:00
Larry Snizek
ae2f19224e Expose DFU detach timeout value 2020-01-21 16:12:38 +00:00
Keith Au
2f4da7f262 adding variable reference freqency support. Currently only 48kHz work 2020-01-16 15:05:41 +08:00
Keith Au
eae62a9e3c moved defined to xua_conf.h. Fixed bug that causes compile error 2020-01-08 13:49:54 +08:00
Keith Au
5361ef8866 added option USB_CMD_CFG_SAMP_FREQ that allows host to conifgure sampling rate by endpoint command 2020-01-07 17:58:20 +08:00
Keith Au
6b1da7610f revert xua_ep0_uacreqs.xc so that frequency global variable is not affected by USB command. Now frequency can be varied by changing the default value. 2020-01-07 15:01:54 +08:00
Keith Au
3b80f63cb9 modified audio output frequency as a variable 2019-12-31 10:34:32 +08:00
Michael Banther
241afbe7e6 Establish a default value for XUA_MIC_FRAME_SIZE. 2019-11-21 16:58:24 +00:00
Michael Banther
b0a26351ce Update copyright notices. 2019-11-11 13:41:07 +00:00
Michael Banther
37bbea3726 Use a consistent method to interpret the HID_CONTROLS pre-processor symbol throughout the code base. 2019-09-26 14:45:17 +01:00
oscarbailey-xmos
06317b0b17 Merge pull request #1 from xmos/master
Update xua_lite branch with changes in master
2019-02-28 17:00:10 +00:00
Ed Clarke
0709860f48 Ensure behaviour is correct when UAC_FORCE_FEEDBACK_EP and XUA_ADAPTIVE features defined as 0 2018-11-05 11:14:03 +00:00
Oscar Bailey
018576cda5 Fix xs1.h not included when XUA_USB_EN=0 2018-10-31 12:04:27 +00:00
Ross Owen
09b1cdf610 Tidy up AUDIO_CLASS_FALLBACK usage 2018-06-04 10:36:27 +01:00
Luciano Martin
a8b03de538 Set AUDIO_CLASS_FALLBACK to 0 by default
- Remove usage of "defined(AUDIO_CLASS_FALLBACK)"
2018-06-01 17:37:19 +01:00
xross
a3c7ff3dd5 PDM resources no longer accessed globally 2018-04-04 18:02:16 +01:00
xross
72c32e2828 PDM related build fixes 2018-04-04 15:16:29 +01:00
xross
14af847ddb NUM_PDM_MICS -> XUA_NUM_PDM_MICS 2018-04-04 14:24:57 +01:00
xross
daa3fd2992 xua_pdm_mic.h included in xua.h 2018-04-04 14:14:57 +01:00
xross
d835f58bbc xua_pdm_mic.h moved to api 2018-04-04 14:14:41 +01:00
xross
2197cbdef6 XUA_AudioHub() no longer pars S/PDIF transmitter task and always takes a channend for S/PDIF tx data (when enabled). I2S clock ports to XUA_AudioHub now nullable - and not used if I2S not enabled!
AN00247 code now builds and runs (and plays!)
2018-03-29 13:50:22 +01:00
xross
b66e9cdc60 Further Audiohub tidyups. I2S ports params. Documentation updates inline. 2018-03-09 16:11:18 +00:00
xross
961d890b2c First cut at reunifying master/slave i2s loops 2018-03-08 20:07:30 +00:00
xross
39acd6cf17 NO_USB -> XUA_USB_EN 2018-03-08 18:02:59 +00:00
xross
a7645a9b0f Audiohub now takes some resources as params (prev was global) 2018-03-08 17:40:56 +00:00
xross
90aa19d351 Tidy up ADAT_RX and SPDIF_RX usage (ifdef vs if) 2018-02-27 14:59:58 +00:00
Larry Snizek
1d38e94eae More release checks 2018-02-09 14:47:28 +00:00
Larry Snizek
79c05afdbe Release checks 2018-02-09 13:05:46 +00:00
xross
bb0f1d3cd9 BCD_DEVICE update 2018-01-29 11:09:58 +00:00
xross
fe93288b1f I2S_MODE_TDM handling 2018-01-17 14:25:27 +00:00
xross
55a9f03719 Fixup CODEC_MASTER usage 2018-01-17 14:06:49 +00:00
xross
b8affc134a Merge branch 'master' of github.com:xmos/lib_xua 2018-01-08 11:38:38 +00:00
xross
90b8fe26cc Added XUA_ENDPOINT_COUNT_CUSTOM_IN/OUT define 2018-01-08 11:37:02 +00:00
xross
e322010cf1 SPDIF_TX and XUA_DFU_EN changes for build 2018-01-04 09:54:04 +00:00
Ross Owen
2f9a89d716 Fixed BCD_DEVICE_N def 2018-01-03 16:09:11 +00:00
Luciano Martin
e2f84f77db - removed DFU and XUA_DFU flags and unified all the flags using XUA_DFU_EN 2017-12-06 15:40:05 +00:00
xross
516b4f5171 DFU_BCD_DEVICE removed (use BCD_DEVICE) 2017-11-02 15:40:27 +00:00
xross
ed2a4701a5 DFU related build fixes 2017-11-02 14:49:26 +00:00
xross
8ceec63c5d Set default BCD_DEVICE to 1.0.0 2017-11-01 16:06:25 +00:00