Commit Graph

111 Commits

Author SHA1 Message Date
Ross Owen
15614ceafc descriptors now includes updated module_usb_shared headers. 2014-03-06 10:23:04 +00:00
Ross Owen
16dd905149 Audio requests now includes usb_std_requests.h (was using usb.h) 2014-03-06 10:22:17 +00:00
Ross Owen
77e7073470 Endpoint 0 now in C (rather than XC). Allows better use of structures for descriptors. Also added changes for FS desc munging using structs and alt SET_STREAM_FORMAT commands. 2014-03-06 10:17:37 +00:00
Ross Owen
b9a8b1b4bf XUD_BusSpeed_t now used for global bus-speed var (previously was unsigned) 2014-02-20 13:33:51 +00:00
Ross Owen
bfe829f227 Comment only. 2014-02-19 17:47:13 +00:00
Ross Owen
a97666892a Removed setting of g_iap_reset. Previously was used to signal decouple to reset iAP on a SetConfig event. No longer used 2014-02-19 17:06:16 +00:00
Ross Owen
6afd42be8e XUD_Result_t usage in audiorequests (fixing audio class 1.0 build issues) 2014-02-18 16:51:37 +00:00
Sam Chesney
51bfdc113a Merge branch 'IAP2_DEV'
Conflicts:
	module_usb_audio/usb_buffer/usb_buffer.xc
2014-02-18 13:17:54 +00:00
Ross Owen
b9b9ee5e36 retVal -> result and XUD_Result_t enum properly used. 2014-02-18 11:59:36 +00:00
Ross Owen
80920296d7 Call to GetSetupPacker now uses XUD_Result_t 2014-02-14 16:21:06 +00:00
Ross Owen
7c83dcb0cd Removed #error 2014-02-14 16:20:37 +00:00
Ross Owen
a7d88ae583 Started adding length params and checking for XUD_Result_t 2014-02-14 16:19:41 +00:00
Sam Chesney
e3905ae3a4 Fix for bug 15181 - the iAP interrupt In EP can now be disabled, as its use is now reported as deprecated by the ATS system. Disabled by default. 2014-02-14 14:25:42 +00:00
Ross Owen
e21a42c26d Added the required +1 for IAP_INTERFACE_STRING_INDEX in string index enum. 2014-02-13 18:36:13 +00:00
Ross Owen
255c336f97 Fixed up IAP_INTERFACE_STRING_INDEX when MIXER not enabled but MAX_MIX_COUNT !=0 2014-02-13 18:26:35 +00:00
Ross Owen
2dbbd305da Fixed iAP interface string index in descriptors when MIXER enabled. 2014-02-04 15:13:50 +00:00
Ross Owen
486a19f549 comment typo only 2014-01-28 16:28:23 +00:00
Ross Owen
432d39434a 'Release: 6.4.0beta2' 2014-01-27 16:26:32 +00:00
Ross Owen
f495005396 Removed unused var and func warnings. 2014-01-27 16:23:54 +00:00
Ross Owen
aa5b7b68df Updated to new termtype defines in descriptors 2014-01-27 14:16:02 +00:00
Ross Owen
14dca46850 Audio 1.0 descriptors now use MAX_PACKET_SIZE_XXX_FS defines 2014-01-24 15:46:33 +00:00
Ross Owen
4c4cf16204 'Release: 6.3.3alpha4' 2014-01-23 12:40:56 +00:00
Ross Owen
62fc22ffc5 Added AUDIO_CLASS == 1 mode for standardrequests() call 2014-01-23 12:40:18 +00:00
Ross Owen
e21ade9c8f Audio 2 desc munging for HS/FS now guarded by NUM_USB_CHAN_ defines 2014-01-23 12:39:54 +00:00
Ross Owen
f3244c3bdc Audio 1.0 desc array now guarded by AUDIO_CLASS==1 (not just AUDIO_CLASS_FALLBACK) 2014-01-23 12:39:02 +00:00
Ross Owen
2b536a00da 'Release: 6.3.3alpha3' 2014-01-22 22:03:25 +00:00
Ross Owen
1a619727f0 Endpoint 0 now modifies input streaming interface descs based on bus speed (previously only did out..). brNrChannels also now modded based on bus-speed. 2014-01-22 22:00:29 +00:00
Ross Owen
9708c45e2f Comment only 2014-01-22 21:58:23 +00:00
Ross Owen
66852a1b36 MAX_PACKET_SIZE defines using SAMPLE_SUBSLOT_SIZE and added STREAMING_INPUT_ALT1_OFFSET define (For munging HS vs FS descs) 2014-01-22 21:58:11 +00:00
Ross Owen
481e50fdf7 Extension units in descs now guarded by MAX_MIX_COUNT > 0 2014-01-22 21:55:14 +00:00
Ross Owen
e9946cc803 NUM_USB_CHAN_IN_A1 and NUM_USB_CHAN_OUT_A1 changed from A1 to _FS 2014-01-22 19:57:22 +00:00
dan
98b3bdba95 added toplevel makefile for xpd 2014-01-22 11:00:41 +00:00
Ross Owen
47d4e1d5de Manufacturer string now used VENDOR_STR rather than APPEND_VENDOR_STR() to avoid extra space being appended 2014-01-21 12:39:28 +00:00
Ross Owen
392bf43274 Delay for feedback stability after SF change now based on bus-speed. Allows faster SF changes at high-speed. 2014-01-20 21:13:18 +00:00
Ross Owen
118fbca858 MCLK_STABILITY_DELAY renamed and updated 2014-01-20 20:31:01 +00:00
Ross Owen
94b98e031b Added defaulting back to PCM when stream stops if was in native DSD mode. Guarded by DEFAULT_TO_PCM and disabled by default. 2014-01-20 18:17:58 +00:00
Ross Owen
5e26f02da7 AUDIO_PLL_LOCK_DELAY renamed MCLK_STABILITY_DELAY and used in ep0 SF change request. 2014-01-20 18:16:36 +00:00
Ross Owen
8712acb539 deliver thread no longer waits for AUDIO_PLL_LOCK_DELAY - this was causing pop issues on rate change as DAC has mclk but no bclk/lrclk. This seems to cause issues. This delay now added to audio SF change in EP0 for safety. Related to BUG #14769 2014-01-20 18:13:54 +00:00
Ross Owen
beff2feaf1 initial value for g_curSampFreqMultiplier now fixed (#15141). Causes issue if no SF rate change from host and the DEFAULT_FREQ is used. 2014-01-11 17:45:35 +00:00
Ross Owen
507afd4f60 Comment only (MIDI descriptor packet sizes) 2014-01-11 16:29:34 +00:00
Ross Owen
6e0f1d5a13 Fixed issue where the next 44.1 based freq above MAX_FREQ was reported in GetRange(SamplingFrequency) when MAX_FREQ=MIN_FREQ (BUG #15127) 2014-01-09 15:14:11 +00:00
Ross Owen
3dd9ddcf47 Descriptors now use SAMPLE_SUBSLOT_SIZE_ and SAMPLE_BIT_RESOLUTION_ defines 2013-12-19 12:07:34 +00:00
Ross Owen
aa029aa685 Fixed usage of MAX_PACKET_SIZE_defines (Input was hardcoded to 1024 bytes) 2013-12-19 12:06:40 +00:00
Ross Owen
d690ad9dfc Endpoint 0 now patches Audio 2 descriptors between FS and HS using SAMPLE_SUBSLOT_SIZE_ and SAMPLE_BIT_RESOLTION_ defines. 2013-12-19 12:00:16 +00:00
Ross Owen
73d8aa1413 Removed reference to EP0_THREAD_COMBINED_WITH_SPI and assocaited params 2013-12-18 11:47:25 +00:00
Ross Owen
0e305b0207 Conflicted merge in descriptors.h 2013-12-12 12:20:08 +00:00
Ross Owen
37dc369c69 Merge commit 'b2816ac3aa4163a8b91c6079a89c9a5418292602' into 6V3_DEV 2013-12-12 12:12:03 +00:00
Ross Owen
1fa6e99473 Conflicted merge in mixer 2013-12-12 11:50:32 +00:00
Richard Osborne
b2816ac3aa Remove commented out code. 2013-12-09 18:09:19 +00:00
Richard Osborne
4b6b98af10 Remove unnecessary runtime initialization. 2013-12-09 18:09:19 +00:00