Ross Owen
e126ba349b
Removed debug prints.
2014-02-18 17:50:55 +00:00
Sam Chesney
593ccd7172
Changed reset result type (int -> XUD_Result_t)
2014-02-18 15:08:08 +00:00
Sam Chesney
927de7bbca
Removed debug print
2014-02-18 15:07:21 +00:00
Sam Chesney
51bfdc113a
Merge branch 'IAP2_DEV'
...
Conflicts:
module_usb_audio/usb_buffer/usb_buffer.xc
2014-02-18 13:17:54 +00:00
Ross Owen
b138b46496
buffer() tidy after reset work.
2014-02-14 16:20:12 +00:00
Sam Chesney
e3905ae3a4
Fix for bug 15181 - the iAP interrupt In EP can now be disabled, as its use is now reported as deprecated by the ATS system. Disabled by default.
2014-02-14 14:25:42 +00:00
Ross Owen
2894eaf106
buffer() checks new return from SetReady_functions to check for reset.
2014-02-13 14:14:34 +00:00
Ross Owen
8e60cfc77f
GetADC counts used instead of inline code.
2014-02-12 14:52:51 +00:00
Sam Chesney
34640a49d4
DEBUG: print length of iAP data following XUD_SetReady_In()
2014-02-10 11:25:14 +00:00
Sam Chesney
f625904415
Fix for bug 15218 - iAP detect sequence can fail after rapid reconnection attempts. On reset drain the c_iap channel of old data until the iAP core returns a reset token.
2014-02-06 11:48:59 +00:00
Ross Owen
486a19f549
comment typo only
2014-01-28 16:28:23 +00:00
Sam Chesney
b65048f20e
Reset local iAP state when host resets device
2014-01-27 16:04:08 +00:00
Ross Owen
6dffaa379b
Decouple now using _FS defines instead of old _A1 defines
2014-01-22 22:01:16 +00:00
Ross Owen
76d60ceb5b
SAMPLE_SLOT_SIZE_XX used instead of hardcoded *3/*4 for generating packet size
2014-01-22 19:57:59 +00:00
Ross Owen
e9946cc803
NUM_USB_CHAN_IN_A1 and NUM_USB_CHAN_OUT_A1 changed from A1 to _FS
2014-01-22 19:57:22 +00:00
Ross Owen
055f05bfab
0 sample buffer is now sized by SAMPLE_SUBSLOT_SIZE_XX (was hard coded * by 3/4
2014-01-22 16:32:12 +00:00
dan
98b3bdba95
added toplevel makefile for xpd
2014-01-22 11:00:41 +00:00
Ross Owen
735de46f7d
comment only
2014-01-20 20:31:11 +00:00
Ross Owen
48d73c429a
Fixed native DSD (lower word of MACC ignored if sample depth <= 24 bits). Native DSD needs 32 bits.
2014-01-18 23:41:22 +00:00
Ross Owen
7fe8f1bbce
Added use of SAMPLE_SUBSLOT_SIZE_ defines and general use of global slotSizevar. Added unpack/pack of 2 byte slot size. Added unreachable builtins to slotsize switch and default case.
2013-12-19 11:54:23 +00:00
Ross Owen
37dc369c69
Merge commit 'b2816ac3aa4163a8b91c6079a89c9a5418292602' into 6V3_DEV
2013-12-12 12:12:03 +00:00
Ross Owen
1fefff6e7c
Merge commit '662ac7df58af07f3dc1a34a04933b903e5ab5fdd' into 6V3_DEV
2013-12-12 12:11:14 +00:00
Ross Owen
1131d22e4f
Merge
2013-12-12 12:10:00 +00:00
Ross Owen
cea9522fb5
Merge commit '82e07458911e4115981508e0538f682c146544ca' into 6V3_DEV
2013-12-12 12:07:57 +00:00
Ross Owen
2cbba4be9e
Revert "Reduce the amount of output buffering." Not safe if channel count
...
differs between input and output
This reverts commit a2a151b510 .
2013-12-12 12:03:42 +00:00
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
09bafcfb3a
Base the buffer size on the MIDI_USB_BUFFER_TO_HOST_SIZE.
...
The buffer task never writes more than this amount of data to the buffer
so there is no point in a bigger buffer.
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