Commit Graph

680 Commits

Author SHA1 Message Date
Ross Owen
81e3389770 Removed usage of c_usb_test 2014-05-15 16:18:55 +01:00
Ross Owen
49e751786a Removed use of c_usb_test from main 2014-05-15 16:18:10 +01:00
Ross Owen
a8e061ae04 Removed use of c_usb_test from main 2014-05-15 16:17:56 +01:00
Ross Owen
e0c279c040 HID descriptor fixed 2014-05-13 18:58:02 +01:00
Ross Owen
2fe1d3cbf2 xpd: Patched version number 2014-05-02 16:03:52 +01:00
Ross Owen
8f5778d2a7 Comment only. 2014-05-02 16:03:03 +01:00
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
6a0449e568 xpd: Patched version number 2014-04-30 15:14:36 +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
7dc63bab93 Fixed up build warnings relating to multiple define definitions. 2014-04-30 12:49:38 +01:00
Ross Owen
9ce1e407ba Removed use of old INPUT and OUTPUT defines (NUM_USB_CHAN_ used instead) 2014-04-29 18:03:59 +01:00
Ross Owen
b93fe11839 Removed use of old INPUT and OUTPUT defines (NUM_USB_CHAN_ used instead) 2014-04-29 18:03:34 +01:00
Ross Owen
c01e193b23 Added annotation comments for docs only 2014-04-29 18:03:06 +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
5ee04e9656 devicedefine.h tidy and update for documentation 2014-04-29 18:01:35 +01:00
Ross Owen
8f3067dcaa xpd: Cleaned up whitespace 2014-04-25 12:28:38 +01:00
Ross Owen
15b0cb3dd7 xpd: Patched version number 2014-04-25 12:28:38 +01:00
Ross Owen
3a74a38638 Master clock used to clock bit-clock clock-block directly when BCLK==MCLK. This improves I2S timing (esp at 384kHz when MCLK=24.576Mhz..) 2014-04-25 12:28:09 +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
61339f6650 Fixed passing on SET_STREAM_FORMAT_ commands from decouple - was incorrectly guarded by DSD define. 2014-04-17 16:07:14 +01:00
Ross Owen
04cc6a5b61 Mixer() now passes though SET_STREAM_FORMAT_xx commands properly 2014-04-17 16:06:31 +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
1eec6111d4 Comment correction 2014-04-14 13:59:41 +01:00
Ross Owen
68052f53ba Endpoint0 now outputs sample resolutions on stream start event. 2014-04-10 12:01:22 +01:00
Ross Owen
90b17ed8ab Decouple now sents out sample res to audio core. SET_DSD_MODE removed and replaced with SET_STREAM_FORMAT_OUT 2014-04-10 12:00:33 +01:00
Ross Owen
28d11704a8 Some Var name tidy ups to keep naming a bit more consistent 2014-04-10 11:59:33 +01:00
Ross Owen
2acebdc3a4 Buffer now passes though sample resolution on SET_STREAM_FORMAT_IN/OUT 2014-04-10 11:58:27 +01:00
Ross Owen
5a75089549 Removed SET_DSD_MODE command 2014-04-10 11:57:56 +01:00
Ross Owen
f8f500e8e6 Added sample res params to AudioHwConfig() prototype 2014-04-10 11:57:43 +01:00
Ross Owen
671552767d Audio core now takes SET_STREAM_FORMAT_OUT command (rather than SET_DSD_MODE). It also accepts a sample resolution where appropriate. Deliver() also now has single return value. 2014-04-10 11:57: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
f0341dcd8b Decouple no longer remembers dsdMode. It always sends through changes. EP should only send though changes as required. 2014-04-08 15:45:37 +01:00
Ross Owen
708b310df9 NATIVE_DSD_FORMAT_NUM now guarded by ifndef 2014-04-08 15:44:31 +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
74013e076e FULL_SPEED_AUDIO_2 only set to 1 when AUDIO_CLASS == 2 2014-04-03 12:23:53 +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
7f7f71e085 MIXER now guarded by ifndef MIXER 2014-04-03 11:02:33 +01:00
Ross Owen
125d4e6eb1 xpd: Cleaned up whitespace 2014-03-28 14:56:42 +00:00