Commit Graph

738 Commits

Author SHA1 Message Date
Ross Owen
897328f9c1 Resolved conflicts merging with develop 2023-06-02 14:18:44 +01:00
Ross Owen
12ec1d7536 module_build_info: lib_xud 2.2.2 -> 2.2.3 2023-05-18 10:05:30 +01:00
Ross Owen
9cf931898e Move check for XUA_USB_EN after include of xua.h (#325) 2023-05-17 14:55:37 +01:00
Ross Owen
6d168b3209 Merge pull request #321 from TDW89/fix/SPDIF-api
SPDIF api fix
2023-05-17 11:05:57 +01:00
Ross Owen
d301fef6d7 Merge pull request #324 from xross/fix/sw_usb_audio_156
Fix for exception when entering DSD mode (also some tidies)
2023-05-15 10:24:47 +01:00
Ross Owen
981ea78be7 Fix for exception when entering DSD mode (also some tidies) 2023-05-12 17:22:47 +01:00
Ross Owen
6cee90d876 Fix audio interrupt endpoint type
Note, this has no functional change
2023-04-17 12:23:27 +01:00
Tom Williams
79d14f8b59 changed to use spdif_rx from SpdifReceive 2023-04-05 17:34:33 +01:00
Daniel Pieczko
4e7ddb4036 Fix memory corruption during initialisation of mixer weights 2023-04-04 14:31:35 +01:00
Ross Owen
71a657dc9a Tidy up of volume control. Removal of xc_ptr.h in favour of built in xc pointers. 2023-04-04 12:37:59 +01:00
Tom Williams
ccfca90451 removed referance to outdated header file, changed for the api file 2023-03-22 15:56:28 +00:00
Ross Owen
e2c36a9a95 xpd: Cleaned up whitespace 2023-03-15 13:00:39 +00:00
Ross Owen
7e3ae59acc Changelog update and version bump 3.3.1 -> 3.4.0 2023-03-15 12:28:39 +00:00
Ross Owen
7703fc1a7d Fixed build warning when mixer not enabled 2023-03-14 11:49:08 +00:00
Ross Owen
53a65344fc Improve mixer control protocol to avoid deadlock 2023-03-14 11:48:54 +00:00
Ross Owen
55a62cf589 - Fixed build issue with !FAST_MIXER
- Fixed issue with !OUT_VOLUME_AFTER_MIX not being respected
2023-03-13 15:50:45 +00:00
Ross Owen
4a84c3e1ec OUT_VOLUME_IN_MIXER enabled by default 2023-03-13 15:49:54 +00:00
Ross Owen
b17f585004 Decouple optimisation for when output slot size = 4 (note, trades off code size) 2023-03-13 14:33:22 +00:00
Ross Owen
57593bfea3 Fixed issue with STREAM_FORMAT_OUTPUT_RESOLUTION_32_BIT_USED be set incorrectly 2023-03-13 14:31:53 +00:00
Ross Owen
9c20fab216 Updated copyright comment 2023-03-09 15:32:15 +00:00
Ross Owen
cf1940245f Return value of XUD_DoSetRequestStatus in Samp freq change 2023-03-09 15:24:21 +00:00
Ross Owen
837b648bbc Reinstate check for current samplerate before changing 2023-03-09 15:22:58 +00:00
Ross Owen
c1159143ea Fastmix.S now uses defines from xua.h 2023-03-09 14:56:54 +00:00
Ross Owen
2964861b70 Fixed xua.h including in asm files 2023-03-09 14:51:32 +00:00
Ross Owen
208491fe51 Added mixer control unit tests (#316)
* Added test_mixer_routing_output_ctrl
* Added test_mixer_routing_input_ctrl 
* Some minor mixer test and code improvements
* Update lib_xud dep version requirement
2023-03-08 10:53:33 +00:00
TDW89
49a116c705 Minor updates (#314)
* SDK location can now set in makefile
* Mixer requirements added to readme
* Uncommented previously broken mixer example from docs as this functionality is now working
* Fixed windows build & runtime info in README
2023-03-01 10:59:00 +00:00
Ross Owen
c578bb92d5 Fix build issue with volume processing in mixer (missing xc_ptr func) 2023-02-17 12:10:51 +00:00
Ross Owen
950beb55cb - Fixed ifndef check
- Fixed mix map update
2023-02-08 17:06:08 +00:00
Ross Owen
e26b934233 Conflicted merge from upstream/develop 2023-02-08 13:58:25 +00:00
Ross Owen
c5e944d73d Use of storeShort function in mixer weight read and comment updates 2023-02-08 13:18:28 +00:00
Ross Owen
22a3d5e043 Added array to size to extern to fix sizeof usage error 2023-02-08 12:20:42 +00:00
Ross Owen
58f691078d Added range checking when getting/setting mixer weights 2023-02-08 12:04:38 +00:00
Ross Owen
f80d7647e0 - Make usage (of lack of) of CS when setting/getting mixer weights more clear in the implementation
- Fix typo in IN_VOLUME_IN_MIXER define
2023-02-08 11:59:13 +00:00
Ross Owen
6c2e7e3042 Fixed issue setting mix maps (#308) 2023-02-08 10:02:32 +00:00
Ross Owen
15ca5ec281 Fixed unused var warning 2023-02-07 16:35:38 +00:00
Ross Owen
71aa64425d Added missing bounds checking when setting host and device maps in the mixer 2023-02-07 12:14:19 +00:00
Ross Owen
9080990234 Fixed typo in define check 2023-02-06 23:44:20 +00:00
Ross Owen
60040de58f Further build issue fixes and copyright comments 2023-02-06 21:08:47 +00:00
Ross Owen
27a59ab3bc - Fixed MIXER define usage in main
- Fixed unsafe pointer usage when MAX_MIX_COUNT=0
- Fixed syntax error building mixer when no features enabled relating to empty switch statement
2023-02-06 21:05:48 +00:00
Ross Owen
317e27e421 - Rationalised MIXER defines and usage
- Further removal of xc_ptr type usage in mixer in favour of native xc pointers
2023-02-06 20:28:29 +00:00
Ross Owen
035c20e01c Fixed build issue in mixer when FAST_MIXER not used 2023-02-06 18:14:48 +00:00
Ross Owen
ef97d667de Further moving of mixer from xc_ptr type to XC pointers 2023-02-06 18:09:33 +00:00
Ross Owen
3d50c96595 - Removed dead XTA pragmas and code from mixer
- Added some more asserts to mixer
2023-02-03 10:59:20 +00:00
Ross Owen
ce8e5a6dbb Merge branch 'develop' into feature/mixer_tests 2023-02-01 12:01:47 +00:00
Ross Owen
73955c1a4c - Added mixer related defines to reduce use of magic numbers
- Increases debug output when DEBUG flag set
- Removed some dead code
- Increased alignment of asm mixer functions
- Removed some usages of “xc_ptr” type in favour of native pointers in XC
- Added some asserts to mixer
- Added test_mixer_routing_input
- Moved test_mixer_routing_output to use shared code
2023-02-01 11:54:48 +00:00
Tom Williams
9922190450 removed versioning and license files as they are now part of the top level. added the help option to the readme 2023-01-18 16:01:08 +00:00
Ross Owen
0ce91bec90 Copyright comment 2023-01-17 12:12:46 +00:00
Ross Owen
2404eaf35f Remove extern, mark static inline 2023-01-17 11:53:44 +00:00
Ross Owen
8966ad1bb9 Add external linkage to inline DoSampleTransfer 2023-01-17 11:39:22 +00:00
Ross Owen
513761ef5b Moved DoSampleTransfer to a header file so it can still be inlined (but also used in unit tests). Resolves fails in test_i2s_loopback 2023-01-17 11:33:52 +00:00