Commit Graph

45 Commits

Author SHA1 Message Date
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
xross
420150f737 Resolving build issues due to moving from custom/devicedefines.h to conf headers. Also removed i_audMan 2017-10-31 16:00:29 +00:00
xross
e98fffd966 File re-shuffle. Moving from devicedefines to xua_conf.h 2017-10-16 17:50:25 +01:00
xross
88bcd75960 i_audMan now nullable 2017-10-13 16:01:19 +01:00
xross
332ec6fbcb Output functional in simple app. Issue at high volume. Still uses sc_i2c. 2017-10-12 15:33:58 +01:00
xross
163ef89ff5 audio() -> XUA_AudioHub 2017-10-12 13:46:12 +01:00
xross
2c20d94d0b xua.h includes xua_buffer.h 2017-10-12 13:28:29 +01:00
xross
032d972052 Created xua_buffer.h.
Added dummy hw config calls to simple app.
Tmp added gpio_access
2017-10-12 13:26:00 +01:00
xross
eae3e4237b Initial file tidy-up. Created app_xua_simple. 2017-10-10 15:00:00 +01:00