Commit Graph

199 Commits

Author SHA1 Message Date
Ross Owen
e3fd1601d7 Cleaned up some build warnings when NUM_USB_CHAN_OUT = 0 2017-08-24 10:12:07 +01:00
Sam Chesney
13f5bb313d xpd: Cleaned up whitespace 2017-08-03 15:50:15 +01:00
Larry Snizek
cbe926f686 Correct stray "else" - meant that g_freqChange never changed 2017-07-18 17:32:50 +01:00
Ed Clarke
721ee98ea4 Initial changes to remove xud dependancies when compiling with NO_USB=1 2017-06-29 09:48:59 +01:00
George Roger
307a6a6f28 Changed some array types to remove warning 'reinterpretation
to type of larger alignment'
2017-05-23 10:21:53 +01:00
Ross Owen
8815f8ce6c Partially undid removal of SR change code when MIN_FREQ=MAX_FREQ. DFU currently uses the SR change code to operate. 2017-03-14 17:17:59 +00:00
Ross Owen
559b2185e9 Fixed UAC1 build configs with no FB endpoint. 2017-01-17 14:44:09 +00:00
Ross Owen
fe68d563f3 Merge branch 'smart_mic_plus' 2016-12-13 14:55:50 +00:00
Ross Owen
1b0282fa9c Merge smart_mic_plus -> master 2016-12-13 12:38:55 +00:00
Ross Owen
5f50c39941 Warning removal - unused vars and funcs 2016-12-13 11:32:18 +00:00
Ross Owen
409b4c668a Fixed USB Audio buffer size (word/byte) 2016-12-09 15:03:17 +00:00
Ross Owen
a699c51075 Tidy up MIN/MAX freq checks 2016-12-08 11:51:11 +00:00
Ross Owen
4132c6989a Resolved build issue with UAC1 builds when MAX_FREQ != MIN_FREQ 2016-12-07 15:19:01 +00:00
Ross Owen
b0451af03b Resolved issue with not starting up FB pipe in UAC1 mode 2016-12-07 11:30:19 +00:00
Ross Owen
a454308ac1 Fixed build issue (missing var) 2016-12-06 16:17:41 +00:00
Ross Owen
ca1925db7a Opts for fitting beclear 2016-12-05 19:26:14 +00:00
Ross Owen
415ea3db52 Cherrypick DFU fix when input vol disabled 2016-09-05 15:38:49 +01:00
Ross Owen
0afb61385d Bug 17473: Input volume disabled breaks going into DFU mode 2016-09-01 14:23:29 +01:00
Ross Owen
9af2e631a9 Conflicted merge stable -> master 2016-04-05 14:45:41 +01:00
Ross Owen
4398201b7f Update to interrupt.h to make it compatible with regards to the stack (must be 8byte alighted for XS2) 2016-03-31 11:42:15 +01:00
Ross Owen
6a8e4ce35a Fixed up IN_BUFFER_PREFILL increase for regression testing. 2016-03-20 18:36:04 +00:00
Ross Owen
544d4bb185 IN_PREFILL increased (quick change in order to check how change affects regression) 2016-03-17 19:21:13 +00:00
Ross Owen
176cbeae28 xpd: Cleaned up whitespace 2015-12-02 22:30:43 +00:00
Ross Owen
c2c5d4f24e sofCount reset to 1 on sample rate change (was 0). Caused first feedback value to be incorrect. This was a particular issue for FS operation where updates happen more slowly. 2015-11-21 00:09:44 +00:00
Ross Owen
bf1a19a7be mod_from_last_time reset on SF change. 2015-11-20 17:27:44 +00:00
Ross Owen
a2010a05c0 Fixed FS feedback and input packet sizing 2015-11-20 16:19:49 +00:00
Ross Owen
68faab7ed2 Attempt to fix up FS mode for new feedback system - still not operational. 2015-11-20 13:46:33 +00:00
Ross Owen
9efde26514 Async feedback system re-implemented to allow for MasterClock/SampleRate ration not being a power of 2 e.g. 32000Hz from 24.576MHz MClk. 2015-11-20 12:59:57 +00:00
Ross Owen
2130da665e Fix to feedback factor range fix 2015-11-17 15:22:33 +00:00
Ross Owen
3da6a51d5f Feedback calc allows a couple of extra bits for the multiplication to allow for a better range of mclk/samplerate combos 2015-11-11 14:16:03 +00:00
Ross Owen
9344178fcc xpd: Cleaned up whitespace 2015-10-12 14:19:50 +01:00
Ross Owen
08c55f9a7d Fixed trap when no mclk applied by customer (device now sends 0-length packets in this case) 2015-09-21 16:02:25 +01:00
Ross Owen
6cc3ea7549 Merge 2015-09-17 17:27:37 +01:00
Ross Owen
2cda8bb1ac Merge 2015-09-17 17:11:07 +01:00
Ross Owen
3ec94a1fc8 Merge branch 'DEV_IMP_FB' 2015-09-08 11:39:06 +01:00
Ross Owen
f5da75fa46 Mixer and non-mixer chan comms (decouple->audio path) now the same scheme. 2015-09-07 16:09:13 +01:00
Ross Owen
b30292d014 Comment. 2015-09-04 11:36:30 +01:00
Ross Owen
59baec261f Fixed up initial values for totalSampsToWrite/sampsToWrite 2015-09-04 11:33:41 +01:00
Ross Owen
9210b11823 More tidy. Multiple IN packets now ditched on over flow (gets buffer to nice pre-fill level). inOverflow flag removed completely. 2015-09-02 15:59:37 +01:00
Ross Owen
facfcd82ec Removed pktcount debug. 2015-09-02 12:37:33 +01:00
Ross Owen
e5cbfe147c Started removing debug code. 2015-09-02 12:31:26 +01:00
Ross Owen
9171df460f Innitial removal of inOverflow state and deletion of oldest packet from buffer. Includes lots of debug. 2015-09-02 12:20:39 +01:00
Ross Owen
cbf3ff7973 Merge branch 'master' into DEV_IMP_FB 2015-08-25 11:32:25 +01:00
Ross Owen
59a79c1d2e g_speed now re-set to expected packet-size 2015-08-21 12:13:17 +01:00
Ross Owen
da5f0701a7 Comment & whitespace only. 2015-08-21 12:11:02 +01:00
Ross Owen
37e73cde48 Fixes to decouple interrupt for dual-issue compatibility purposes. 2015-04-09 14:55:39 +01:00
Ross Owen
85c5b4a801 Properly aligned interrupt funcs 2015-04-07 15:10:01 +01:00
Ross Owen
3558bc6049 Conflicted merge: master -> DEV_X200_BRINGUP 2015-04-07 14:52:51 +01:00
Ross Owen
575ee95714 xpd: Cleaned up whitespace 2015-03-30 12:24:03 +01:00
Ross Owen
2e67773f0f Merge: master -> DEV_X200_BRINGUP 2015-03-23 12:57:57 +00:00