Ross Owen
ca44477c3d
Comments only: UAC1 Descriptors
2017-01-20 11:38:50 +00:00
Ross Owen
1e1a15c3a4
Merge branch 'master' of git://git.xmos.local/apps/sc_usb_audio
2017-01-17 14:44:36 +00:00
Ross Owen
559b2185e9
Fixed UAC1 build configs with no FB endpoint.
2017-01-17 14:44:09 +00:00
Sam Chesney
a58b8c3bb9
Merge add_i2s_out_ds3 into master
2017-01-16 16:45:52 +00:00
Sam Chesney
d4536e6b1d
Merge rename_i2s_in_ds3_support into master
2017-01-16 16:44:59 +00:00
Ross Owen
7bb7042cd7
Further improved mic integration
2017-01-12 20:23:21 +00:00
Ross Owen
433946d792
Merge branch 'master' of git://git/apps/sc_usb_audio
2017-01-12 20:17:26 +00:00
Ross Owen
06ad11bebd
Fixed mic array getting/transport order.
2017-01-12 20:17:19 +00:00
Sam Chesney
491ec6697e
Add DS3 support to I2S output path (USB->DS3->I2S)
2017-01-11 17:02:08 +00:00
Sam Chesney
066905f661
Rename ds3Sum to inputDs3Sum
2017-01-11 16:54:20 +00:00
Sam Chesney
e87ad03237
Rename delayLine to inputDelayLine
2017-01-11 16:54:20 +00:00
Sam Chesney
6ed6497a6b
Rename downsamplingCounter to inDownsamplingCounter
2017-01-11 16:54:20 +00:00
Sam Chesney
80e9feb546
Rename I2S_DOWNSAMPLE_CHANS to I2S_DOWNSAMPLE_CHANS_IN
2017-01-11 16:54:20 +00:00
Sam Chesney
46a11d869f
Rename I2S_DOWNSAMPLE_FACTOR to I2S_DOWNSAMPLE_FACTOR_IN
2017-01-11 16:54:20 +00:00
Sam Chesney
a997f39237
Rename I2S_DOWNSAMPLE_MONO to I2S_DOWNSAMPLE_MONO_IN
2017-01-09 15:39:03 +00:00
Sam Chesney
1bd7dcf168
Add I2S resync to LRCLK logic when CODEC_MASTER=1
...
In CODEC master mode, the I/O loop assumes L/RCLK = 32bit clocks.
Check this every iteration and resync if we get a bclk glitch.
2016-12-21 16:26:07 +00:00
Sam Chesney
c422ca5181
Turn on port buffers for p_lrclk and p_bclk when CODEC_MASTER=1
2016-12-21 16:26:07 +00:00
Ross Owen
53430f0995
Fix-ups to UAC1 descriptors lengths (both historical and relating to recent volume control removal)
2016-12-21 02:32:12 +00:00
Ross Owen
3ce57a22b8
MIN_FREQ_FS guarded by ifndef
2016-12-21 00:46:58 +00:00
Ross Owen
e14648ea1b
XVSM -> USB_CONTROL_DESCS
2016-12-19 15:05:23 +00:00
Ross Owen
c5175d76d8
UAC2 build error fix
2016-12-16 23:14:22 +00:00
Ross Owen
fe68d563f3
Merge branch 'smart_mic_plus'
2016-12-13 14:55:50 +00:00
Ross Owen
5606f4032b
XUD only run in HP mode ifdef XUD_PRIORITY_HIGH
2016-12-13 14:09:55 +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
4985e2ad0f
Merge branch 'smart_mic_plus' of git://git/apps/sc_usb_audio into smart_mic_plus
2016-12-08 13:27:19 +00:00
Ross Owen
94d54f992d
Moved to lib_mic_array v3 API
2016-12-08 13:23:23 +00:00
Sam Chesney
5c46cc476d
Update DS3 library calls to use new API
2016-12-08 13:01:47 +00:00
Ross Owen
b70dab1532
Fixed mic processing calls
2016-12-08 11:51:29 +00:00
Ross Owen
a699c51075
Tidy up MIN/MAX freq checks
2016-12-08 11:51:11 +00:00
Ross Owen
10efbb709e
Removed erroneous error msgs
2016-12-08 11:50:38 +00:00
Ross Owen
f1b7ee13ba
Fixed non-streaming issue on some builds after merge
2016-12-07 17:25:38 +00:00
Ross Owen
798e5b07f0
Fixed up I2S_DOWNSAMPLE_FACTOR error check
2016-12-07 16:55:49 +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
66cb768975
Merge branch 'DEV/OPTS_BECLEAR' into smart_mic_plus
2016-12-07 14:30:14 +00:00
Ross Owen
16e75552d8
removed print inc
2016-12-07 13:01:26 +00:00
Sam Chesney
4b9e323593
Move defines and checks to expected places
2016-12-07 11:41:05 +00:00
Ross Owen
b0451af03b
Resolved issue with not starting up FB pipe in UAC1 mode
2016-12-07 11:30:19 +00:00
Sam Chesney
5e09197c15
Remove unused include
2016-12-07 10:14:51 +00:00
Sam Chesney
3fe1a6e8cc
Allow mono downsampling mode
...
Allows for reduced resource usage when I2S is used as an input to a mono
AEC.
2016-12-07 10:11:47 +00:00
Sam Chesney
bcc9c23a71
Memory optimisation of I2S DS3 integration
2016-12-06 17:29:11 +00:00
Ross Owen
56935a7ff2
XUD in HP
2016-12-06 16:17:56 +00:00
Ross Owen
a454308ac1
Fixed build issue (missing var)
2016-12-06 16:17:41 +00:00
Ross Owen
6a4c998585
Rm print
2016-12-06 16:17:16 +00:00
Sam Chesney
c5eb740637
Call DS3 functions on incoming I2S samples
...
Downsampling is enabled only when I2S_DOWNSAMPLE_FACTOR is defined as>
1 (must be 3).
2016-12-06 15:09:06 +00:00
Sam Chesney
6ab9bef80c
Remove I2S_RATE_SCALING define
...
Just use the I2S_DOWNSAMPLE_FACTOR define now.
2016-12-06 15:09:06 +00:00
Ross Owen
ca1925db7a
Opts for fitting beclear
2016-12-05 19:26:14 +00:00
Sam Chesney
fe6f795e5a
Fix brace placement
...
Broken in commit 020cf2dad7 .
Fix to ensure that samples are not output to USB layer on receipt of a
command.
2016-11-30 10:18:57 +00:00
Sam Chesney
dde838c940
Update I2S input buffering to support downsampling scheme
...
Also:
- Replace defines added for I2S downsampling with existing defines.
- Remove downsampledI2S[] buffer until DS3 API is finalised.
Samples from samplesIn[] are output instead for now.
2016-11-30 10:12:26 +00:00