Larry Snizek
0bc2e54818
Give UAC1 control interface a name. Swap UAC1 DFU and control interface numbers. Was typically 3 for DFU and 4 for control, now 3 for control and 4 for DFU.
2017-10-06 17:43:56 +01:00
Sam Chesney
13f5bb313d
xpd: Cleaned up whitespace
2017-08-03 15:50:15 +01:00
Ed Clarke
721ee98ea4
Initial changes to remove xud dependancies when compiling with NO_USB=1
2017-06-29 09:48:59 +01:00
Ross Owen
b568b0181b
Fixed warning re: UAC1 DFU
2017-06-02 12:43:15 +01:00
George Roger
307a6a6f28
Changed some array types to remove warning 'reinterpretation
...
to type of larger alignment'
2017-05-23 10:21:53 +01:00
George Roger
3de6a963a0
Removed initial definition of NUM_INTERFACES_A1
2017-05-22 09:41:32 +01:00
Ross Owen
8b3e5d8e80
Fixed descriptor length issue with UAC1 + DFU
2017-05-08 14:57:47 +01:00
Ross Owen
1805429e90
Resolved build issue with missing DFU related define
2017-05-08 14:32:02 +01:00
Ross Owen
da06dbd9da
Added DFU to UAC1 descriptors (guarded by DFU and FORCE_UAC1_DFU)
2017-05-08 14:03:58 +01:00
Sam Chesney
cf8e3c1cf9
Fix build issue in UAC1 configs
...
Class 1 configurations of apps that also define AUDIO_CLASS_FALLBACK as
1 failed to build as the devDesc_Audio2 struct now only exists when
AUDIO_CLASS is defined as 2. This change was introduced in commit
ca1925db7a .
2017-03-10 12:22:11 +00:00
Ross Owen
248b73e285
Runtime fixes for DFU disable
2017-03-09 12:45:59 +00:00
Ross Owen
ca44477c3d
Comments only: UAC1 Descriptors
2017-01-20 11:38:50 +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
e14648ea1b
XVSM -> USB_CONTROL_DESCS
2016-12-19 15:05:23 +00:00
Ross Owen
5f50c39941
Warning removal - unused vars and funcs
2016-12-13 11:32:18 +00:00
Ross Owen
6a4c998585
Rm print
2016-12-06 16:17:16 +00:00
Ross Owen
ca1925db7a
Opts for fitting beclear
2016-12-05 19:26:14 +00:00
Ross Owen
5a92aaecb0
Error typo
2016-08-02 18:14:21 -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
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
81f9bfc232
Fixed UAC1 descriptors using some UAC2 strings.
2016-07-11 16:59:39 +01:00
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
2a0933c62a
Added Call to VendorRequests() and VendorRequests_Init() into EP0
2016-06-15 13:36:10 +01:00
Ross Owen
78ab9a067a
Adding support for VENDOR_REQUESTS_PARAMS
2016-06-08 12:40:29 +01:00
Ross Owen
929437e7df
xpd: Cleaned up whitespace
2015-12-09 16:21:04 +00:00
Ross Owen
2379066a95
FIX/UAC1_MC_VOL_CONTROL -> stable
2015-12-08 16:07:27 +00:00
Ross Owen
cc886a643c
UAC1.0 descriptors now support multi-channel volume control (previously were hard-coded as stereo)
2015-12-08 16:05:44 +00:00
Ross Owen
91dc115986
Revert "Removed 32kHz support when PDM mics enabled (lib_mic_array supports integer decimation factors only)"
...
This reverts commit 2ae99f11e6 .
2015-12-08 15:38:51 +00:00
Ross Owen
2ae99f11e6
Removed 32kHz support when PDM mics enabled (lib_mic_array supports integer decimation factors only)
2015-12-08 15:17:25 +00:00
Ross Owen
176cbeae28
xpd: Cleaned up whitespace
2015-12-02 22:30:43 +00:00
Ross Owen
89f43fabd1
unitId unsigned.
2015-11-25 19:27:01 +00:00
Ross Owen
49466b8653
UAC1 descriptors no longer always report 7 freqs - it reports atleast 3 freqs (and up to 7 - over 7 should generate a build error). If < 3 freqs are requested MAX_FREQ_FS is repeated as required.
2015-11-24 18:34:54 +00:00
Ross Owen
ab55f03fc2
Fixes for UAC1 enum issues on Windows - attempt to only expose 7 sample rates (> 7 crashes Windows UAC1 driver)
2015-11-24 11:38:19 +00:00
Ross Owen
ab7db51b17
Removed 22050Hz sample rate for UAC2 lowSampleRateList. Now matches list in UAC1 descriptors.
2015-11-24 11:37:37 +00:00
Ross Owen
3bc55bc9b9
Added 8000Hz to UAC1 SF list
2015-11-20 17:27:11 +00:00
Ross Owen
c0f8a60099
Fixed UAC1 sample freq change issue
2015-11-20 17:26:51 +00:00
Ross Owen
d919a807cd
Fixed UAC1 sample rate change issue.
2015-11-20 16:17:15 +00:00
Ross Owen
7512067905
Fixed build error (typo)
2015-11-20 13:04:23 +00:00
Ross Owen
9efde26514
Async feedback system re-implemented to allow for MasterClock/SampleRate ration not being a power of 2 e.g. 32000Hz from 24.576MHz MClk.
2015-11-20 12:59:57 +00:00
Ross Owen
2130da665e
Fix to feedback factor range fix
2015-11-17 15:22:33 +00:00
Ross Owen
ae6720d0ed
Initial addition of SAMPLE_RATE_LIST define
2015-11-17 11:40:11 +00:00
Ross Owen
2aef62b434
Added support in UAC1 descriptors for 24, 22.05, 12 and 11.025kHz
2015-11-12 19:03:30 +00:00
Ross Owen
3da6a51d5f
Feedback calc allows a couple of extra bits for the multiplication to allow for a better range of mclk/samplerate combos
2015-11-11 14:16:03 +00:00
Ross Owen
9344178fcc
xpd: Cleaned up whitespace
2015-10-12 14:19:50 +01:00
Ross Owen
2cda8bb1ac
Merge
2015-09-17 17:11:07 +01:00
Ross Owen
3ec94a1fc8
Merge branch 'DEV_IMP_FB'
2015-09-08 11:39:06 +01:00
Ross Owen
cc14679d53
Fixed build issue due to undeclared var when DFU disabled.
2015-09-04 12:56:14 +01:00