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
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
Ross Owen
da7c45500d
- Added test_mixer_routing_output
...
- Various buffers no longer marked static to allow for easier unit testing
- Added some comments and removed some dead code from the implementation
- Moved mixer control comms to functions for unit test convenience
2023-01-16 17:28:04 +00:00
Ross Owen
395c88cb22
- Removed unused mixer variable.
...
- Use of mixer defines rather than fixed values
2023-01-10 11:27:37 +00:00
Tom Williams
94e58edfaf
documentation clarifications and some spelling / grammer fixes
2022-12-21 17:22:39 +00:00
Tom Williams
9f00f9159a
improvements to documentation
2022-12-21 15:07:14 +00:00
Tom Williams
785a857ca8
moved mixer control to correct path
2022-12-01 09:37:20 +00:00
Tom Williams
3130088c91
Initial commit for host_usb_mixer_control
2022-11-23 17:53:47 +00:00
Daniel Pieczko
9c460f753f
Avoid calling SetupZerosSendBuffer when there are no IN eps
2022-11-10 16:44:34 +00:00
Daniel Pieczko
abfa3a2011
Revert TDM ADC clocking change from commit a1946f3
2022-11-07 08:59:56 +00:00
xross
a1946f340a
Remove TDM ADC clocking on neg edge
2022-11-01 19:24:25 +00:00