Commit Graph

710 Commits

Author SHA1 Message Date
Ross Owen
5655c91fd8 BCD_DEVICE now guarded by #ifndef (Caused issues with DFU test configs) 2015-03-30 12:22:00 +01:00
Ross Owen
7cd5631e4b The audio i/o core now uses "underflow" sample as it's request word (i.e. different for PCM/DSD). This gets passed all the way through mixer and on to decouple such that it can be used in the underflow state. This allows the removal of the communication of the underflow state to the audio i/o core from decouple and thus "stand-alone" mixer now works again. 2015-03-20 17:23:24 +00:00
Ross Owen
d7ad6e7a99 Fixed clock selector string index 2015-03-20 09:29:25 +00:00
Ross Owen
f8c703621f Now uses module_adat_rx from sc_adat (local module_usb_audio_adat removed) 2015-03-19 15:36:11 +00:00
Ross Owen
2de25aa4b5 All inline asm in decouple now marked volatile 2015-03-18 12:20:24 +00:00
Ross Owen
7f8e90dda4 Potential build issue due to duplicate labels in inline asm in set_interrupt_handler macro 2015-03-18 11:56:30 +00:00
Ross Owen
77b446c682 Added HID report defines to user_hid.h 2015-03-18 11:22:29 +00:00
Ross Owen
961bebf683 Resolved enum issue when MAX_MIX_COUNT > 0. Introduced in 6.11 mixer opts (bug #16564) 2015-03-18 10:24:20 +00:00
Ross Owen
214c5c4f42 Fixed build issue due to SPDIF clock block always delcared. 2015-03-04 16:38:26 +00:00
Ross Owen
6eaa986eb9 xpd: Cleaned up whitespace 2015-03-04 16:10:04 +00:00
Ross Owen
a28fccdcb7 xpd: Patched version number 2015-03-04 16:10:04 +00:00
Ross Owen
61f2dd76fe Merge branch 'DEV_ADAT_TX' 2015-03-04 16:00:35 +00:00
Ross Owen
389546a2b5 Fixed hard-coded adat/mclk multiplier 2015-03-04 15:59:52 +00:00
Ross Owen
ea931680ad Fixed trap when SPDIF_TX and ADAT_TX both enabled - caused by sharing clock block 2015-03-04 15:56:01 +00:00
Ross Owen
ab392eb373 Channel strings in string table now come from generated header. 2015-03-02 23:43:14 +00:00
Ross Owen
02fe59bc84 Created new SPDIF_TX define (based on old SPDIF define). Helps with auto generating channel strings. 2015-03-02 23:42:25 +00:00
Ross Owen
bcf229fdbe Added generated chanstrings header 2015-03-02 23:41:46 +00:00
Ross Owen
e452eaa2b0 Simplication of chanstringgen script and its preprocessor output 2015-03-02 23:40:51 +00:00
Ross Owen
91e0427d5b Added SPDIF channel count to chanstringgen script 2015-03-02 22:31:01 +00:00
Ross Owen
d746e8cad5 Added chanstringgen.py script for generating channel string portion of string table 2015-03-02 21:28:49 +00:00
Ross Owen
1447be3ca0 Added ADAT tx via shared memory buffer. Also added SMUX re-shuffle code. 2015-02-27 19:26:15 +00:00
Ross Owen
385b26b7fb Further work to debug adding adat tx to deliver 2015-02-17 18:23:18 +00:00
Ross Owen
a9de259963 Initial addition of adat sample transfer into audio core 2015-01-30 16:05:58 +00:00
Ross Owen
9877618786 Added ADAT_TX define 2015-01-30 16:05:26 +00:00
Ross Owen
6816278557 Basic addition of ADAT tx core. 2015-01-29 18:33:45 +00:00
Ross Owen
130553bae0 White space in preprocessor item only 2015-01-29 15:46:21 +00:00
Ross Owen
630c9fbd30 DFU failing when SPDIF_RX enabled due to clock block being shared. Made an attempt to rationalise CLKBLK defines. 2015-01-14 17:35:40 +00:00
Ross Owen
f5a822d42d Comment only. 2015-01-09 17:19:24 +00:00
Ross Owen
b2e848e9b4 Fix up channel alignment issue in slave mode TDM 2015-01-09 15:55:13 +00:00
Ross Owen
7f53fc08ee Resolved further build issues when CODEC_MASTER enabled 2015-01-06 16:56:42 +00:00
Ross Owen
55e7084df5 Resolved build issue with CODEC_MASTER enabled 2015-01-06 15:31:40 +00:00
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
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