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
Sam Chesney
01d08993cb
EA Native Transport manager EPs now handled in usb_buffer.xc
2014-09-22 15:52:45 +01:00
Ross Owen
085c444f40
xpd: Cleaned up whitespace
2014-09-19 13:14:55 +01:00
Ross Owen
ee444abce0
xpd: Patched version number
2014-09-19 13:14:55 +01:00
Ross Owen
273db94ad8
Output channel count from tables rather than define
2014-09-19 12:21:15 +01:00
Ross Owen
1b398556e3
Added the extra input formats to the subslot_in etc arrays
2014-09-19 12:10:25 +01:00
Ross Owen
a4b753557c
SetupZeroSendBuffer() now does calculations based on global g_numUsbChan_In (rather than checking bus speed and using NUM_USB_CHAN_ defines)
2014-09-19 11:59:07 +01:00
Ross Owen
5946dd76a1
Added Alt3 for input to accommodate ADAT SMUX2
2014-09-19 11:33:33 +01:00
Ross Owen
968c0f039c
Endpoint0 issues SMUX mode command to clockgen() based on sample rate
2014-09-19 11:33:04 +01:00
Ross Owen
5b6f470ea1
Added warnings when packet size greater than USB max packet size
2014-09-19 11:24:58 +01:00
Ross Owen
6b73736874
Added various defines for input stream format
2014-09-19 11:24:30 +01:00
Ross Owen
92ea5e492a
Moved digital channel transfer to help I2S timings (24.576 MCLK not working previously)
2014-09-19 11:23:34 +01:00
Ross Owen
1a20175b01
Fixed build issue with c_dig_rx
2014-09-19 11:22:11 +01:00
Ross Owen
e7e520506b
Added support for ADAT SMUX2 mode to clockgen() - Removed TODO!
2014-09-19 11:21:34 +01:00
Ross Owen
cc4165e57b
c_dig_rx is no longer nullable (helps with timing due to issue with compiler checks)
2014-09-18 11:50:08 +01:00
Ross Owen
8465ae1c5e
Stated adding alt interfaces to input interface for ADAT rx
2014-09-16 11:54:59 +01:00
Ross Owen
96f74293b2
Added HS_STREAM_FORMAT_INPUT_X_CHAN_COUNT defines
2014-09-16 11:50:55 +01:00
Ross Owen
777dfbf885
Added channels and clock block required for ADAT to main.xc
2014-09-15 15:59:58 +01:00