Commit Graph

1063 Commits

Author SHA1 Message Date
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
Sam Chesney
020cf2dad7 Add DS3 to I2S input
- I2S downsampling is disabled by default.

- I2S rate is always scaled up:
  The host may not issue a SET_SAMPLE_FREQ command so always scale up,
  and back down where the value may be a another command.
2016-11-29 12:19:25 +00:00
Ross Owen
9c5bff58c4 Merge branch 'stable' of git://git/apps/sc_usb_audio into stable 2016-11-24 16:00:50 +00:00
Sam Chesney
2c5020d6d3 Fix typo 2016-11-23 16:31:39 +00:00
Sam Chesney
22ee710f01 Fix typo 2016-11-23 16:30:41 +00:00
Ross Owen
7aca281d5c Moved USER_MAIN_CORES to top or par{} - helps when external uses function ptrs etc 2016-11-21 17:03:15 +00:00
Ross Owen
124bee80b4 Additional build fix for default mic processing imps 2016-11-16 13:15:54 +00:00
Ross Owen
ff8520af67 Attempts to fix non-mic builds 2016-11-16 12:45:16 +00:00
Ross Owen
ee80cd7e7f Merge branch 'stable' of git://git/apps/sc_usb_audio into stable 2016-11-16 12:27:28 +00:00
Ross Owen
4956a4c673 Added default implementation of user_pdm_process and user_pdm_init (weak symbols) 2016-11-16 12:22:55 +00:00
Sam Chesney
0901194f5c Remove duplicate header -> use xua_pdm_mic.h 2016-11-09 15:44:44 +00:00
Sam Chesney
88a1dc0e80 Fix configuration of lib_mic_array with < 8 mics 2016-11-02 13:50:27 +00:00
Ross Owen
75b9ae177b Comment only. 2016-10-27 12:58:54 +01:00
Ross Owen
ca4ce77e87 Comment typo only. 2016-10-27 12:58:46 +01:00
Ross Owen
f164eeae5a Renamed i_dsp -> i_audMan 2016-10-27 12:58:37 +01:00
Ross Owen
a6a860694c Second decimator core only run if NUM_PDM_MICS>4 2016-10-06 13:43:57 +01:00
Ross Owen
1e8ea9a771 Fixed FS input channel count warning text 2016-10-06 12:48:37 +01:00
Ross Owen
17e27a8c09 6.21.0 -> 6.30.0 inline with sw_usb_audio 2016-10-05 14:37:46 +01:00
Ross Owen
24e79e4c22 Added 6.21 to changelog (BCD_DEVICE bump) 2016-10-05 12:56:25 +01:00
Ross Owen
ad791c2806 PDM microphone clock divide now based MCLK defines (previously hard-coded) 2016-10-05 12:56:00 +01:00
Ross Owen
415ea3db52 Cherrypick DFU fix when input vol disabled 2016-09-05 15:38:49 +01:00
Ross Owen
d123fd0938 Resolved build issue when NUM_USB_CHAN_OUT set to 0 and MIXER enabled. 2016-09-01 14:39:08 +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
09764eb627 Intra-frame sample delay (ADC/TDM) 2016-08-17 11:10:10 +01:00
Ross Owen
e270729960 BCD_DEVICE version bump 2016-08-16 14:57:14 +01:00
Ross Owen
b7c11788d5 More include fixes. 2016-08-11 20:38:45 +01:00
Ross Owen
236bf6dba8 Include file fixups (build fail) 2016-08-11 20:05:54 +01:00
Ross Owen
b882c35f0f Re-disabled IN_VOLUME_IN_MIXER - regression fails. Updated comment(s) 2016-08-11 13:32:25 +01:00
Ross Owen
e7a08e9e0c Fixed issues in xud_audio breaking i2s_loopback test 2016-08-11 12:58:32 +01:00
Ross Owen
4edc969427 Added EXCLUDE_USB_AUDIO_MAIN (used by i2s_loopbacktest) 2016-08-11 12:50:22 +01:00
Ross Owen
ae3b543769 IN_VOLUME_MIXER enabled by default (was commented out) 2016-08-10 15:01:21 +01:00
Ross Owen
5a92aaecb0 Error typo 2016-08-02 18:14:21 -04:00
Ross Owen
cd588b507b BCD_DEVICE version bump (corrected without additional changes) 2016-08-02 18:09:38 -04:00
Ross Owen
c49133723e Revert "BCD_DEVICE version bump"
This reverts commit c67f5e454d.
2016-08-02 18:08:35 -04:00
Ross Owen
c67f5e454d BCD_DEVICE version bump 2016-08-02 16:19:38 -04:00
Ross Owen
82435da472 Required updated for latest lib_mic_array API 2016-07-15 11:59:23 +01:00
Ross Owen
7830c0df41 stable -> master (conficted) 2016-07-15 10:21:13 +01:00
Ross Owen
f770595930 xpd: Patched version number 2016-07-14 16:26:16 +01:00
Peter Hedinger
40221d4fc9 Added support for control (vendor) endpoint for Windows control. 2016-07-14 12:47:06 +01:00
Ross Owen
60b6ca2782 xpd: Cleaned up whitespace 2016-07-11 17:01:12 +01:00
Ross Owen
26bcc1db6e xpd: Patched version number 2016-07-11 17:01:12 +01:00
Ross Owen
81f9bfc232 Fixed UAC1 descriptors using some UAC2 strings. 2016-07-11 16:59:39 +01:00
Ross Owen
0f1690cc77 BCD_DEVICE update 2016-06-29 09:07:04 +05:30
Ross Owen
07e02f77f5 Added default implementation of VendorRequests_Init (sandbox build fail) 2016-06-24 16:48:24 +01:00
Ross Owen
5eb4997828 Resolved build issue when VENDOR_REQUEST_PARAMS_... not defined 2016-06-24 16:34:29 +01:00
Ross Owen
bc778fde41 Merge branch 'stable' into DEV/INTEGRATE_LIB_CONTROL 2016-06-24 16:27:39 +01:00
Ross Owen
d5a8739021 FIR gain compensation set appropriately in lib_mic_array 2016-06-23 13:45:53 +01:00
Ross Owen
645209a97b Removed old comment. 2016-06-23 12:53:32 +01:00
Ross Owen
2a0933c62a Added Call to VendorRequests() and VendorRequests_Init() into EP0 2016-06-15 13:36:10 +01:00