Commit Graph

171 Commits

Author SHA1 Message Date
Ross Owen
6a3ec89417 Midi strings now assigned in the string table. 2014-05-02 00:02:56 +01:00
Ross Owen
80dff15100 Fixed bad usage of NUM_USB_CHAN_OUT when _IN should have been used. Caused output only build to wait for buffer setup to happened forever.. 2014-04-30 21:02:43 +01:00
Ross Owen
306f88db1a More missing brace related warnings. 2014-04-30 15:12:50 +01:00
Ross Owen
3ed228a77b Fixed build warnings related to missing braces. 2014-04-30 15:11:15 +01:00
Ross Owen
19e15ae5e3 Fixes to build warnings relating to excess array elements. 2014-04-30 15:06:53 +01:00
Ross Owen
83f5310f9b Removed use of NULLABLE_RESOURCE macro from endpoint0.c. Causes syntax high-light issue in XTC. 2014-04-30 12:50:07 +01:00
Ross Owen
a2e29dfa8a Removal of historical OUTPUT and INPUT usage. NUM_USB_CHAN_ used instead. 2014-04-29 18:02:40 +01:00
Ross Owen
8f3067dcaa xpd: Cleaned up whitespace 2014-04-25 12:28:38 +01:00
Ross Owen
9b6ce98cbe g_curStreamAlt_In also now reset. 2014-04-24 18:09:57 +01:00
Ross Owen
93731c6e23 g_curStreamAlt_Out reset to 0 on bus reset. Fixes issue when input packets were incorrectly sized on bus-speed change. 2014-04-24 16:18:58 +01:00
Ross Owen
7e81b4b775 Fixed some build warnings related to excessive array elements 2014-04-17 14:58:11 +01:00
Ross Owen
9caa429a20 INPUT_VOLUME_CONTROL now affects descriptors and processing in decouple() 2014-04-17 14:48:32 +01:00
Ross Owen
641fbdfca6 Added define OUTPUT_VOLUME_CONTROL which disables output volume control - both in the descriptors and processing. NOTE: Still could be extended to disable volume in MIXER 2014-04-17 14:14:05 +01:00
Ross Owen
8966f5db59 xpd: Cleaned up whitespace 2014-04-14 14:00:43 +01:00
Ross Owen
68052f53ba Endpoint0 now outputs sample resolutions on stream start event. 2014-04-10 12:01:22 +01:00
Ross Owen
92d5596294 Endpoint 0 only sends out format change commands if the interface Alt has changed (ignoring changes to the zero bandwidth alt) 2014-04-08 15:50:09 +01:00
Ross Owen
393824c60f Removed unused g_dsdMode var 2014-04-08 15:47:57 +01:00
Ross Owen
18073920cb xpd: Cleaned up whitespace 2014-04-03 12:31:32 +01:00
Ross Owen
cbeaaa1a64 Added value for iChannelNames in UAC1 descs 2014-04-03 12:24:48 +01:00
Ross Owen
f1f247d281 Resolved issue when UAC1 Set mute was being stalled due to bad data length check 2014-04-03 12:24:22 +01:00
Ross Owen
a6b3ef03ed Removed accidental commit of #error in descriptors 2014-04-03 11:25:56 +01:00
Ross Owen
f1a3e37ca0 Audio Class 1.0 sample frequency list now respects MAX_FREQ (previous based on OUTPUT and INPUT defines) 2014-04-03 11:03:23 +01:00
Ross Owen
125d4e6eb1 xpd: Cleaned up whitespace 2014-03-28 14:56:42 +00:00
Ross Owen
a6a1ead9fb Fixed external clock support in descriptors 2014-03-28 12:21:33 +00:00
Ross Owen
caee7b6713 ID_CLKSRC_EXT -> ID_CLKSRC_SPDIF 2014-03-28 12:21:12 +00:00
Ross Owen
23eaa438a5 Moved UAC1 desc guard 2014-03-27 11:49:53 +00:00
Ross Owen
5725a1f41e Reapair UAC1 build issues relating to removal of old INTERFACES defines. 2014-03-27 11:49:18 +00:00
Ross Owen
4b285c3910 Added AUDIO_INTERFACE_COUNT define 2014-03-27 11:38:39 +00:00
Ross Owen
85e48e619a Removed old EP_NUM_ defines from descriptors.h 2014-03-27 11:31:49 +00:00
Ross Owen
e1d71070ac Endpoint numbers now in an enum. Removed old INTERFACES defines - were used to generate EP count. 2014-03-27 11:07:33 +00:00
Ross Owen
351827cb81 Fixed build issue: INTERFACE_NUM_HID -> INTERFACE_NUMBER_HID 2014-03-26 14:47:42 +00:00
Ross Owen
1a5ba8c75b Fixed build issue with MIDI interface number naming 2014-03-26 13:18:03 +00:00
Ross Owen
1023599a48 Interface numbers now built up in an enum 2014-03-26 13:16:12 +00:00
Ross Owen
1488353b8d 'Release: 6.5.1beta0' 2014-03-25 13:12:37 +00:00
Ross Owen
76f17fbbdb Fixing minor build issues in descriptors.h 2014-03-21 18:21:37 +00:00
Ross Owen
da864722ae Build warning removal relating to bad pointer casts 2014-03-21 18:16:11 +00:00
Ross Owen
aaddeb4bb6 Added braces to DFU desc initialiser to avoid compiler warning 2014-03-21 17:32:42 +00:00
Ross Owen
cd631f307f Added use of output termtype enum to descriptors 2014-03-21 17:26:56 +00:00
Ross Owen
3988284ec5 Whitespace tidy only 2014-03-21 17:26:24 +00:00
Ross Owen
cbb6351f7f Removed old SPDIF_TX_OVERLAP define 2014-03-21 17:26:12 +00:00
Ross Owen
ee061957d7 Added SPDIF guard when assigning channel strings 2014-03-21 17:25:55 +00:00
Ross Owen
68684aeb6b Channel strings now show "Analogue X/SPDIF Y" if I2S and SPDIF channels overlap 2014-03-20 21:09:36 +00:00
Ross Owen
5c6e998ba5 Simplified LangID string declaration 2014-03-20 21:08:40 +00:00
Ross Owen
7b96f79903 Removed old STR_USENG def 2014-03-20 21:08:09 +00:00
Ross Owen
bc036968a0 Fixed build issue in descriptors due to MIDI iJack still using old string index enum 2014-03-20 18:27:01 +00:00
Ross Owen
6335a8c3ab Fixed build issue with g_strTable param to StandardRequests() 2014-03-20 18:23:27 +00:00
Ross Owen
81473a0c5b updates to pass pointer based string table to StandardRequests 2014-03-20 18:19:52 +00:00
Ross Owen
9eb50def03 Removed old runtime munge of channel names 2014-03-20 18:19:14 +00:00
Ross Owen
e0da5930f7 Comment only 2014-03-20 18:18:51 +00:00
Ross Owen
839a7b82ec Structure based string tables added. All string index's use offsetof() into structure. Old string index enum removed. 2014-03-20 18:18:22 +00:00