Commit Graph

22 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
Sam Chesney
22ee710f01 Fix typo 2016-11-23 16:30:41 +00:00
Ross Owen
f164eeae5a Renamed i_dsp -> i_audMan 2016-10-27 12:58:37 +01:00
Ross Owen
09764eb627 Intra-frame sample delay (ADC/TDM) 2016-08-17 11:10:10 +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
e7a08e9e0c Fixed issues in xud_audio breaking i2s_loopback test 2016-08-11 12:58:32 +01: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
60b6ca2782 xpd: Cleaned up whitespace 2016-07-11 17:01:12 +01:00
Ross Owen
645209a97b Removed old comment. 2016-06-23 12:53:32 +01:00
Ross Owen
547d9a77d3 RUN_DSP_TASK tidy in audio_io 2016-05-20 15:29:35 +01:00
Ross Owen
1e25625106 Removal of RUN_DSP_TASK 2016-05-20 15:04:28 +01:00
Ross Owen
5376b5027f i_audMan no longer hidden by a define. PDM min transfer uses transaction. 2016-05-20 14:39:01 +01:00
Ross Owen
702e7a7e1f Initial work to move DSP location 2016-05-17 11:06:19 +01:00
Ross Owen
d0929ae067 xpd: Cleaned up whitespace 2016-04-26 11:32:19 +01:00
Ross Owen
c4d4505e83 All instances of i_dsp guarded by RUN_DSP_TASK 2016-04-22 17:23:37 +01:00
Ross Owen
aee3851f4c Audio sample buffers now magic value of 32. Was NUM_USB_CHAN_OUT/IN which causes issues if USB chan count < audio IF count. 2016-04-21 18:40:37 +01:00
Ross Owen
8e1b71f70c All input samples now run through the double buffer to allow for the UserBufferManagement function. samplesIn now 2D to make this a bit easier. DSP code now in app space. 2016-04-21 18:21:08 +01:00
Ross Owen
845ed8f001 Initial changes to allow for xvsm demo 2016-04-21 16:43:25 +01:00