Commit Graph

74 Commits

Author SHA1 Message Date
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
Ross Owen
538f6f3bf3 Added MIN_FREQ define, MAX_FREQ now auto-defined as 192k, Native DSD enabled by default (if DSD enabled) 2013-10-23 12:39:48 +01:00
Ross Owen
23ecffe691 Fixed spacing in vendor strings 2013-10-16 18:11:16 +01:00
Ross Owen
82876da22c String tidy 2013-09-20 12:03:08 +01:00
Ross Owen
13bd9d9b06 SET_CONFIG now falls though to StandardRequests() 2013-09-19 17:04:16 +01:00
Ross Owen
cdef644159 removed mute byte and added strDesc length 2013-09-18 15:01:21 +01:00
Ross Owen
01c5c2b1a8 Max packet size defines added and used for for maxPacketLength 2013-09-18 14:53:30 +01:00
Ross Owen
e8abe94f07 Audio 2 reports restricted sample freq list if running in fs 2013-09-18 14:52:46 +01:00
Ross Owen
212cb68cfa MAX_PACKET_SIZE_OUT_AUDIO_2 define added (currently not used) 2013-09-16 22:50:14 +01:00
Ross Owen
13c0668536 STEAMING_ALT1_OFFSET define added 2013-09-13 23:37:12 +01:00
Ross Owen
a4bace28a6 Audio 2 config desc patched based on speed (for FS UAC2 mode). Guarded by FULL_SPEED_AUDIO_2 2013-09-13 23:36:36 +01:00
Ross Owen
3a746c5c56 Moved samp freq globals to audioreqs 2013-09-09 23:40:49 +01:00
Ross Owen
3f7c00e49f Moved samp freq globals to audioreqs 2013-09-09 23:40:29 +01:00
Ross Owen
4651dcf71f Define, stringtable and whitespace tidy 2013-09-05 23:19:56 +01:00
Ross Owen
1d6290aea3 Tidyied up previous fix for strings 2013-08-30 14:43:43 +01:00
Ross Owen
a1e2e4f8ee Space was missing between vendor string and string of entity (such as clock source etc 2013-08-30 13:23:30 +01:00
Ross Owen
d889ab5bce DSD/PCM mode now rememebered and only changed when required. Re-oreded when Stream Start/Stop is called for better use with Mute signals. Writes to shared mute sample 2013-08-29 19:28:31 +01:00
Ross Owen
1e33bf819d Changes to support DSD Native mode 2013-08-23 14:23:37 +01:00
Ross Owen
bbb4999318 Started modding descs for native DSD 2013-08-12 14:46:56 +01:00
Ross Owen
1873afc201 Descriptors file rename 2013-08-09 16:32:53 +01:00
Ross Owen
da1bd95efa descriptors file naming 2013-08-09 16:29:48 +01:00
Ross Owen
fd1308f237 Removed Output and Input from strings 2013-07-02 17:07:58 +01:00
Ross Owen
160010acda Update to Audio 1.0 desc for CV test 2013-06-28 12:45:19 +01:00