Commit Graph

56 Commits

Author SHA1 Message Date
Richard Osborne
662ac7df58 Don't store length of the buffer in the buffer itself.
This is pointless as nothing ever reads it.
2013-12-09 18:09:19 +00:00
Richard Osborne
e56b271e0c Make MIDI buffer globals static. 2013-12-09 18:09:19 +00:00
Richard Osborne
82e0745891 Remove local buffer pointers which are set but never used. 2013-12-09 18:09:19 +00:00
Richard Osborne
a2a151b510 Reduce the amount of output buffering.
It looks their was a typo here - the code calculates the maximum audio
packet size and uses it for the input buffer but not the output buffer.
Now the amount of input buffering matches the amount of output buffering.
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
Richard Osborne
4b22faaf69 Remove checked in file generated from a merge conflict. 2013-12-09 18:09:18 +00:00
Sam Chesney
a90878a94b Removed uppercase letters from file names from module_iap 2013-12-05 11:16:20 +00:00
Ross Owen
dcdc1ba2b8 Comment and #if 1 tidy only 2013-11-14 15:45:11 +00:00
Ross Owen
3232c05caa midi.h include guarded by MIDI define 2013-10-28 12:30:59 +00:00
Ross Owen
f0f9c1ecdb Tidy up clockcmds header 2013-10-23 17:20:16 +01:00
Ross Owen
8316b87c9f Decouple now reports out underflow to deliver and doesnt send mute samples itself 2013-09-18 15:02:27 +01:00
Ross Owen
8e91f2749f Comment only 2013-09-16 22:51:31 +01:00
Ross Owen
068675b126 Initial speed based slotsize setting now also guarded by FULL_SPEED_AUDIO2 2013-09-13 23:37:58 +01:00
Ross Owen
3d8193af40 SHARED_GLOBAL now marked volatile and has memory clobber for safety 2013-09-11 12:05:25 +01:00
Ross Owen
c17db023ce Slight tweak to DoP idle word 2013-09-09 23:42:04 +01:00
Ross Owen
71797cc608 Fixed up debug FB tolerance test build 2013-09-09 23:38:22 +01:00
Ross Owen
d0479dd92a Slight hack for Sony DoP mode - uses global dsdMode to output DoP idle on undeflow. NOT FOR GENERAL RELEASE 2013-09-05 23:22:00 +01:00
Ross Owen
56e92355a3 Underflow case now uses shared mute sample (for DSD use) 2013-08-29 19:27:21 +01:00
Ross Owen
1e33bf819d Changes to support DSD Native mode 2013-08-23 14:23:37 +01:00
Ross Owen
b514f474e4 naming change to macro only 2013-07-16 17:14:28 +01:00
Ross Owen
f52aaeba8e Fixed issued with outover flow when CHAN_BUFF_CTRL enabled 2013-07-16 17:12:41 +01:00
Ross Owen
1bd8744dc2 Added control channel for buffering for lower-power, non-memory polling buffering 2013-07-09 15:48:26 +01:00
Ross Owen
b2491e95c9 Added robustness to bad length Audio 1.0 packets (bug #11032) 2013-06-10 15:47:49 +01:00
Ross Owen
9d324bf3d0 Vendor_ReadHID-> UserReadHID inline with other function naming 2013-05-15 12:46:56 +01:00
Ross Owen
ce9a112def g_hidData[] reset before calling ReadHIDButtons() 2013-05-10 16:19:43 +01:00
Ross Owen
e7d23603a4 Tidy 2013-05-08 14:24:34 +01:00
Ross Owen
5cf3d6c45a Tidied up iAP reset 2013-03-08 14:56:29 +00:00
Ross Owen
5199f00733 Removed unused vars 2013-03-08 10:41:47 +00:00
Ross Owen
dcd5477491 Simplication of iAP IN path. Single buffer now used. Removed ptrs etc 2013-03-07 18:59:39 +00:00
Ross Owen
9189e90f6c Further tidy up 2013-03-07 17:57:39 +00:00
Ross Owen
cf14ee398c Again further simplication of IAP receive data case - no longer uses ptr 2013-03-07 17:16:51 +00:00
Ross Owen
ab98969650 Further simplification of IAP receive data case - no longer stick length in buffer[0]. Its pointless 2013-03-07 16:56:57 +00:00
Ross Owen
609d210efd Simplification of IAP receive data case 2013-03-07 16:53:51 +00:00
Ross Owen
99fec446e6 More removal of now un-used buffer logic 2013-03-07 16:46:56 +00:00
Ross Owen
27b05df90d Removing some un-used buffer logic 2013-03-07 16:44:53 +00:00
Ross Owen
f6d95a5b60 IAP removed from decouple 2013-03-07 16:37:09 +00:00
Ross Owen
bf58de3006 Started to move iOS/iAP code from decouple to usb_buffer 2013-03-07 16:05:45 +00:00
Ross Owen
ec026e36db Just tidy up 2013-03-07 11:52:28 +00:00
Ross Owen
2fb4d427ed Added check for bad PID etc in IAP out data 2013-02-18 12:20:00 +00:00
Ross Owen
e81174301f Removed some commented out code 2013-02-18 12:18:22 +00:00
Ross Owen
2765fc58af Fixed issue with initial MIDI message and first audio IN packet now used UAC1 chan count define 2013-02-07 17:19:56 +00:00
Ross Owen
420bbe8120 Decouple can now handle different channel counts for UAC1/UAC2 2013-02-07 17:18:17 +00:00
Ross Owen
4aafabd7cc First stab at iOS in 6v0. Replug (i.e. reset notification) not working yet 2013-01-29 16:47:53 +00:00
Ross Owen
dcf01a9d63 Fixed HID report initial report send 2012-11-23 15:06:04 +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
268018abd6 Removed Audio Int EP 2012-11-20 17:31:36 +00:00
Ross Owen
b8af693143 Attempt to address bug #10897 - corner case for overflow 2012-11-16 17:31:43 +00:00
Ross Owen
749230620b Removed iAP code from usb_buffer for release (non-functional anyway..) 2012-11-16 16:48:23 +00:00
Ross Owen
5b43763370 Attempted fix for bug #11031 (DFU command gets used as SF 2012-11-16 16:08:42 +00:00
Ross Owen
6f1a2230af Reduced overhead of interrupt 2012-10-29 12:48:36 +00:00