Commit Graph

296 Commits

Author SHA1 Message Date
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
Richard Osborne
c337eccf0a Remove duplicate constants for string indicies.
It looks like STR_INDEX_OUT_CHAN STR_INDEX_IN_CHAN weren't calculated
correctly, and we already have existing constants for the index of
the input / output strings.
2013-12-09 18:09:19 +00:00
Richard Osborne
47d56e7138 Update comment. 2013-12-09 18:09:19 +00:00
Richard Osborne
2c36043119 Assign unique string indexes using a enum instead of #defines. 2013-12-09 18:09:19 +00:00
Richard Osborne
577b5f500d Make functions static where possible, no intended functionality change.
This saves 208 bytes.
2013-12-09 18:09:18 +00:00
Ross Owen
bfca1da409 Quick patch to fix TX channel strings 2013-12-09 16:03:28 +00:00
Ross Owen
c0129c683a Mixer related L2 app build issues patched up 2013-12-09 15:58:35 +00:00
Ross Owen
5c7366eec2 Mixer descriptors now only enabled if MAX_MIX_COUNT > 0 2013-12-09 15:48:25 +00:00
Ross Owen
15f7739f23 Tab removal 2013-11-27 11:08:06 +00:00
Ross Owen
919ad59c38 Removed used used var buffer 2013-11-19 15:49:31 +00:00
Ross Owen
952e573bec Simplification of calls to StandardRequest() based on if DFU is enabled or not. 2013-11-18 18:05:45 +00:00
Ross Owen
a61b8dc961 Fixed build issue when DFU not enabled. 2013-11-14 15:44:23 +00:00
Ross Owen
015d56195d Including dsd_support.h instead of dsd.h and fix build issue due to missing bracket 2013-10-28 12:30:23 +00:00
Ross Owen
84c267bac8 Removed enum DsdMode as bit of a pain for non-dsd users 2013-10-24 10:55:49 +01:00
Ross Owen
1281963a55 Added DSDMode enum 2013-10-24 10:51:17 +01:00
Ross Owen
f0f9c1ecdb Tidy up clockcmds header 2013-10-23 17:20:16 +01:00