Commit Graph

508 Commits

Author SHA1 Message Date
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
Ross Owen
b229f372f8 xpd: Patched version number 2014-03-28 14:56:41 +00:00
Ross Owen
1ef9d7760f Merge branch 'master' of git://git/apps/sc_usb_audio 2014-03-28 12:22:49 +00:00
Ross Owen
4c7771adfa First pass at adding back int endpoint to usb_buffer 2014-03-28 12:22:41 +00:00
Ross Owen
e7defaad77 Re-added c_dig_rx channel 2014-03-28 12:22:21 +00:00
Ross Owen
d94a42bcfe Fixed build issue in main() due to typo 2014-03-28 12:22:04 +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
1b78f3f861 Temp removed interaction between audio() and clockgen() 2014-03-28 12:20:39 +00:00
Ross Owen
8ba8005e88 PowerSaving now guarded by XUD_SERIES_SUPPORT==1 rather than old XUD_ON_U_SERIES define 2014-03-27 19:44:28 +00:00
Ross Owen
a9815ca850 EnableBufferedPort() now run on p_dsd_clk on every audio port config. This is because deliver sets p_dsd_clk low to ensure that stop_clock() completes. This avoids a run time exception when p_dsd_clk is not yet turned on. 2014-03-27 19:43:59 +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
44aeb64c23 Actually removed old INTERFACES defines from devicedefines.h this time... 2014-03-27 11:31:19 +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
0c075e10e9 Removed old interface number defines from devicedefines.h (now in enum) 2014-03-26 13:16:53 +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
93b5b47728 Re-adding back audio config channel 2014-03-25 12:26:35 +00:00