Ross Owen
b1e69b0590
Various changes to get SPDIF working on x200 board config
2015-03-17 11:52:45 +00:00
Ross Owen
cfca7b347e
Fixed build issue due to bad define name (EP vs ENDPOINT)
2015-01-12 18:14:07 +00:00
Ross Owen
465b0fe7d3
Merge branch 'master' into DEV_IMP_FB
2015-01-09 17:19:51 +00:00
Ross Owen
8d2b65127e
First attempt at complete removal of feedback EP code when not required.
2014-12-08 18:19:56 +00:00
Ross Owen
c05e1f05c2
Whitespace only.
2014-11-25 18:24:29 +00:00
Sam Chesney
2b2b1634a5
Added comment for app note include use
2014-09-22 18:36:12 +01:00
Sam Chesney
e7492156c0
Added comment for app note include use
2014-09-22 17:49:30 +01:00
Sam Chesney
6bc66f6f29
Merge branch 'master' of git://git/apps/sc_usb_audio
2014-09-22 15:52:59 +01:00
Sam Chesney
01d08993cb
EA Native Transport manager EPs now handled in usb_buffer.xc
2014-09-22 15:52:45 +01:00
Ross Owen
a4b753557c
SetupZeroSendBuffer() now does calculations based on global g_numUsbChan_In (rather than checking bus speed and using NUM_USB_CHAN_ defines)
2014-09-19 11:59:07 +01:00
Ross Owen
1677eb49b0
xpd: Cleaned up whitespace
2014-07-29 14:55:17 +01:00
Ross Owen
5cb62d8460
comment only
2014-07-29 14:53:47 +01:00
Ross Owen
878b92ac26
Removed dead interrupt EP code from decouple
2014-07-29 14:53:37 +01:00
Ross Owen
de0a7e3d6e
usb_buffer now takes channel param for interrupt EP. Added required functionality.
2014-07-29 14:33:47 +01:00
Ross Owen
5e0e063c10
c_clk_int param (and associated functionality) removed from decouple
2014-07-29 12:50:33 +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
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
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
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
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
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
4c7771adfa
First pass at adding back int endpoint to usb_buffer
2014-03-28 12:22:41 +00:00
Ross Owen
821f527467
Removed un-used tmp var
2014-03-21 17:33:04 +00:00
Ross Owen
78215ee827
Removed unused usb_speed var
2014-03-21 17:32:52 +00:00
Ross Owen
acd4fb35da
Re-orded macros
2014-03-07 12:07:03 +00:00
Ross Owen
0e120103c1
unreachable logic the wrong way around in input switch statement. Used cases removed, unused kept.
2014-03-06 21:17:07 +00:00
Ross Owen
71c876f356
Decouple only tells audio to change to/from DSD/PCM mode if there is an actual change to be made
2014-03-06 21:16:17 +00:00
Ross Owen
9c5e0a1dd8
'Release: 6.5.0beta0'
2014-03-06 17:50:18 +00:00
Ross Owen
87194a878e
Re-added builtin_unreachable() using SUBSLOT_X_USED defines. 32 bit volume processing guarded by OUTPUT_RESOLUTION_32BIT_USED
2014-03-06 16:16:30 +00:00
Ross Owen
ab2bb89db8
Removed inline asm comments in usb buffer select
2014-03-06 13:31:28 +00:00
Ross Owen
f32acbd55d
Reordering some declarations for build on 12 tools
2014-03-06 12:14:26 +00:00
Ross Owen
f154c734cd
Merge branch 'ANDROID'
2014-03-06 10:36:29 +00:00
Ross Owen
cd8fa036e2
Added support from SET_STREAM_FORMAT_x commands from Ep0
2014-03-06 10:35:48 +00:00
Ross Owen
fa2285f27f
Updated usb buffer includes
2014-03-06 10:35:03 +00:00
Ross Owen
c1a175ae8b
- Optimised 16bit pack/unpack.
...
- Added use of separate subSlot_in & subSlot_out vars
- Zero buffer now setup using curSubSlot_in
- Added dealing with SET_STREAM_FORMAT commands from usb buffer
2014-03-06 10:34:41 +00:00
Ross Owen
31034e10ce
Removed checking of USB Bus-speed on every decouple interrupt handler. SlotSize and maxPacketSize now setup on SET_STREAM_FORMAT event
2014-03-06 10:32:00 +00:00
Ross Owen
c914a7d9c6
Added global format change vars for stream change communications from usb_buffer().
2014-03-06 10:31:13 +00:00
Ross Owen
3ea529014a
Updates to decouple packet size related defines.
2014-03-06 10:30:25 +00:00
Ross Owen
55c68f3c31
Updates to decouple includes
2014-03-06 10:29:40 +00:00
Ross Owen
ea5d579631
Added macros for 16bit memory load/store to xc_ptr.h
2014-03-06 10:29:02 +00:00
Sam Chesney
c696fc608b
Consolidated MAX_IAP_PACKET_SIZE and IAP_USB_BUFFER_TO_HOST_SIZE into a single define: IAP_MAX_PACKET_SIZE
2014-02-24 16:59:21 +00:00
Sam Chesney
e75e5b131f
iAP tx buffer no longer one word longer than max packet size, as length is no longer added to the buffer
2014-02-24 16:47:05 +00:00
Ross Owen
22758cc81c
Added some defences against a 0 length packet being received from the host and breaking the MIDI/IAP FIFOs. Also added further use of XUD_Result_t in select functions.
2014-02-20 18:22:46 +00:00
Ross Owen
6d838ece93
Usb-buffer no longer sets up the FB packet on startup. Instead it sets it up on stream start (SET_CHAN_COUNT_OUT cmd). This means that the packet size after bus-speed change is correct!
2014-02-20 14:05:11 +00:00
Ross Owen
2800df22eb
Comment only.
2014-02-20 14:03:24 +00:00
Ross Owen
41b1bdd815
Removed unused vars from decouple
2014-02-20 14:00:22 +00:00