Commit Graph

28 Commits

Author SHA1 Message Date
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
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
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
b2816ac3aa Remove commented out code. 2013-12-09 18:09:19 +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
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
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
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
1873afc201 Descriptors file rename 2013-08-09 16:32:53 +01:00
Ross Owen
3b8effc24a defines now using HID_ prefix 2013-05-10 16:19:10 +01:00
Ross Owen
e7d23603a4 Tidy 2013-05-08 14:24:34 +01:00
Ross Owen
ec026e36db Just tidy up 2013-03-07 11:52:28 +00:00
Ross Owen
43b31cbb44 Reinstate iap_reset on SET_CONFIG 2013-02-18 12:16:25 +00:00
Ross Owen
2352735a01 Endpoint0 thread now sends different channel counts based on USB speed. In addition, OUT direction is now set as well as IN 2013-02-07 17:17:26 +00:00
Ross Owen
3b5605dd02 Fixed some build warnings, EP num shuffle after Int EP removal 2012-11-21 18:12:24 +00:00
Ross Owen
6539766807 Tidy only, no functional change 2012-11-15 17:49:17 +00:00
Ross Owen
8d65dd59be Getting iOS building again 2012-09-19 10:22:28 +01:00
Ross Owen
99cdee6e2b Doc updates 2012-08-30 14:21:17 +01:00