Commit Graph

881 Commits

Author SHA1 Message Date
Ross Owen
66ce8f8a6e More fixes to mixer code (note, xc_ptr still used in some places) 2014-12-12 17:02:42 +00:00
Ross Owen
b6746415fc More mixer related build fixes 2014-12-12 15:52:16 +00:00
Ross Owen
8587a16221 Mixer related build fixes 2014-12-12 15:46:54 +00:00
Ross Owen
db961a38f0 Fixed build issue when mixer not enabled. 2014-12-12 15:43:32 +00:00
Ross Owen
a4af4fd0f2 xpd: Cleaned up whitespace 2014-12-12 15:31:07 +00:00
Ross Owen
d22030009c Removed duplicate line due to merge. 2014-12-12 14:59:48 +00:00
Ross Owen
38958db165 xpd: Cleaned up whitespace 2014-12-12 13:19:10 +00:00
Ross Owen
975e7efc42 xpd: Patched version number 2014-12-12 13:19:10 +00:00
Ross Owen
178f0c4580 Merge DEV_TDM -> master 2014-12-12 13:03:57 +00:00
Ross Owen
8d2b65127e First attempt at complete removal of feedback EP code when not required. 2014-12-08 18:19:56 +00:00
Ross Owen
56e79c0af9 Explicit feedback endpoint removed from Audio Class 2.0 descriptors when input stream is available (or UAC_FORCE_FEEDBACK_EP is defined) 2014-12-08 17:04:23 +00:00
Ross Owen
4ab8cff9a4 I2_CHANS_PER_FRAME default define moved from audio.xc to devicedefines.xc 2014-12-02 14:22:11 +00:00
Ross Owen
7ac0e87e0b Fixed issue with TDM and S/PDIF Tx 2014-12-02 14:07:50 +00:00
Ross Owen
ee0c69c50f Output TDM and I2S code now unified. 2014-11-27 18:29:26 +00:00
Ross Owen
86faae8890 Removed the extra I2S input code. TDM and I2S port input code now shared. 2014-11-27 18:15:04 +00:00
Ross Owen
673946b028 Standard I2S mode up and running again. Still needs more generalisation. 2014-11-27 17:58:07 +00:00
Ross Owen
a6fdb9b22a Digital RX channels sent over in a separate loop in DoSampleTransfer(). Only I2S channels double buffered. 2014-11-27 17:57:28 +00:00
Ross Owen
5b4a6f9e94 Mix map disabled when MAX_MIX_COUNT is 0. Started to change code to using XC unsafe pointers rather than xc_ptr.h. This results in nice speed up since compiler uses ldw with intermediate addressing from DP - saves a lot of processing in the loops. 2014-11-27 12:50:38 +00:00
Ross Owen
dbbeddff03 Removed unused debug vars 2014-11-27 12:44:54 +00:00
Ross Owen
3ffbc99456 DoSampleTransfer now takes readBuffNo rather than actual buffer. Now two separate In buffers (was 2D array). Attempts to help compiler. 2014-11-27 12:44:39 +00:00
Ross Owen
c05e1f05c2 Whitespace only. 2014-11-25 18:24:29 +00:00
Ross Owen
36d0fec21a Added -always-inline to module_usb_audio build info 2014-11-25 18:24:09 +00:00
Ross Owen
2576a0e8a4 Added iput channel descriptors for > 24 < 32 channels. 2014-11-25 18:23:46 +00:00
Ross Owen
525a905939 Required descriptor changes for input channel counts over 18 (now handles up to 32) 2014-11-20 17:29:36 +00:00
Ross Owen
69f8e83cc7 TDM code made a bit more generic. Fixed issue with multiple TDM input lines missing channels. 2014-11-20 17:28:48 +00:00
Ross Owen
d26f478835 Introduced second input buffer to take up sample delay on last TDM channel. 2014-11-19 18:03:53 +00:00
Ross Owen
8d6ef4d1d4 Simplified TDM buffer to reduce copying. 2014-11-19 15:52:37 +00:00
Ross Owen
2b85adc01d Simple TDM buffer added to sort channel delay issue. 2014-11-19 14:39:07 +00:00
Ross Owen
c82ddb5726 LRClk startup a bit nicer (was double high) 2014-11-13 15:51:10 +00:00
Ross Owen
08cba47cb5 Fixed mixer build issue when IN_VOLUME_IN_MIXER not set 2014-11-10 18:38:22 +00:00
Ross Owen
a97d5f3e57 Comment in mixer only 2014-11-10 18:37:52 +00:00
Ross Owen
4854ea8f4d Added descriptors for larger channel counts 2014-11-10 18:37:34 +00:00
Ross Owen
ea00ff49f3 Tmp disabled volume in mixer 2014-11-10 18:37:10 +00:00
Ross Owen
6f0bf1e2e2 First cut TDM input 2014-11-10 18:36:51 +00:00
Ross Owen
33d2cbd538 TDM clock div tidied up 2014-11-10 18:36:38 +00:00
Ross Owen
c08e4fc5d1 TDM clock div tidied up 2014-11-10 18:36:20 +00:00
Ross Owen
925ecc631b First cut TDM implementation added 2014-11-07 12:24:16 +00:00
Ross Owen
dc84486239 Port init pulled out to a function 2014-11-07 10:42:22 +00:00
Ross Owen
743a4564f6 Added DoSampleTransfer() function and updated comments 2014-11-06 23:57:45 +00:00
Ross Owen
3c34a1c3c0 Updated I2S init and loop ordering to attempt to fix sample offset 2014-11-06 23:21:52 +00:00
Ross Owen
30f610d185 Inline ASM for I2C port inputs now marked volatile to avoid compiler touching them 2014-10-31 15:16:07 +00:00
Ross Owen
876e5a2606 'Release: 6.10.0alpha1' 2014-10-31 10:49:31 +00:00
Ross Owen
c25f6b5589 Initial removal of samplesInPrev buffer in deliver 2014-10-31 10:48:31 +00:00
Ross Owen
3c7439f0bb Improved preprocessor #warning messages for out of range values for I2S_WIRE_XXX defines 2014-10-28 12:10:41 +00:00
Ross Owen
730c043ad5 I2S input operations now in ASM due to compiler adding extra setc instructions. Performance opt only (Compiler bug #15256) 2014-10-28 12:08:32 +00:00
Sam Chesney
75d5b0d457 xpd: Patched version number 2014-10-22 14:59:34 +01:00
Sam Chesney
e312ed5dcc Change to include iAP module header not conf
The required iAP headers have been updated such
that they can now be included from C, which allows
us to build with a default string for
IAP_EA_NATIVE_TRANS_PROTOCOL_NAME when it has not
been defined in the user app rather than having
to error.
2014-10-01 16:12:14 +01:00
Sam Chesney
2b2b1634a5 Added comment for app note include use 2014-09-22 18:36:12 +01:00
Sam Chesney
e7492156c0 Added comment for app note include use 2014-09-22 17:49:30 +01:00
Sam Chesney
6bc66f6f29 Merge branch 'master' of git://git/apps/sc_usb_audio 2014-09-22 15:52:59 +01:00