Commit Graph

282 Commits

Author SHA1 Message Date
Ross Owen
8712acb539 deliver thread no longer waits for AUDIO_PLL_LOCK_DELAY - this was causing pop issues on rate change as DAC has mclk but no bclk/lrclk. This seems to cause issues. This delay now added to audio SF change in EP0 for safety. Related to BUG #14769 2014-01-20 18:13:54 +00:00
Ross Owen
e53de21f7a DSD native mode now outputs mute pattern on invalid freq. Previously only output clks. Helps with pop issue when changing pcm/dsd versions in foobar. (BUG #14769) 2014-01-20 18:11:50 +00:00
Ross Owen
0da282dd1c deliver now sets bclk/dsd clk initial high. This was previously done in port config. 2014-01-20 18:10:14 +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
a883b4fbdb FULL_SPEED_AUDIO_2 now can be set to 0 2014-01-18 23:39:58 +00:00
Ross Owen
6a0ac4e321 XUD_ON_U_SERIES updated to XUD_SERIES_SUPPORT 2014-01-17 11:29:23 +00:00
Ross Owen
4bdb00388e manual BCD_DEVICE bump (6.3.2 to 6.3.3) 2014-01-17 11:28:56 +00:00
David Lacey
833be5511e Refactor reboot code for test harness 2014-01-17 11:04:33 +00:00
Ross Owen
7c4b7a702b Removed debug #error 2014-01-16 17:56:45 +00:00
Ross Owen
1022f7d5c6 Fixed build issue when CODEC_MASTER defined (BUG #15162) 2014-01-16 17:31:28 +00:00
Ross Owen
70276c3237 Fixed build issue when NUM_USB_CHAN_IN or NUM_USB_CHAN_OUT set to 0 and MIXER set to 1 (#15096) 2014-01-15 17:22:28 +00:00
Ross Owen
58f147e1c8 Merge branch '6V3_DEV' 2014-01-13 16:28:04 +00:00
Ross Owen
beff2feaf1 initial value for g_curSampFreqMultiplier now fixed (#15141). Causes issue if no SF rate change from host and the DEFAULT_FREQ is used. 2014-01-11 17:45:35 +00:00
Ross Owen
44f46ee0eb Comment only. 2014-01-11 17:44:05 +00:00
Ross Owen
3570f551e1 MIDI Rx port now buffered. Means that Start-bit detect select case doesn't get started on receipt of large MIDI packet. 2014-01-11 16:33:29 +00:00
Ross Owen
507afd4f60 Comment only (MIDI descriptor packet sizes) 2014-01-11 16:29:34 +00:00
Ross Owen
6e0f1d5a13 Fixed issue where the next 44.1 based freq above MAX_FREQ was reported in GetRange(SamplingFrequency) when MAX_FREQ=MIN_FREQ (BUG #15127) 2014-01-09 15:14:11 +00:00
Ross Owen
70f5047e22 Manual BCDDEVICE change 6.3.1 -> 6.3.2 2013-12-20 15:51:11 +00:00
Ross Owen
0d63c29a3b Merge branch '6V3_DEV' of git://git/apps/sc_usb_audio into 6V3_DEV 2013-12-19 12:08:40 +00:00
Ross Owen
3dd9ddcf47 Descriptors now use SAMPLE_SUBSLOT_SIZE_ and SAMPLE_BIT_RESOLUTION_ defines 2013-12-19 12:07:34 +00:00
Ross Owen
aa029aa685 Fixed usage of MAX_PACKET_SIZE_defines (Input was hardcoded to 1024 bytes) 2013-12-19 12:06:40 +00:00
Ross Owen
8bf5bc7ea8 Added default values and checks for SAMPLE_BIT_RESOLUTION_ and SAMPLE_SUBSLOT_SIZE_ defines 2013-12-19 12:01:15 +00:00
Ross Owen
d690ad9dfc Endpoint 0 now patches Audio 2 descriptors between FS and HS using SAMPLE_SUBSLOT_SIZE_ and SAMPLE_BIT_RESOLTION_ defines. 2013-12-19 12:00:16 +00:00
Ross Owen
855ba6b83f Fixed up null USB reset port but not null USB clock. This is for case when UserReset is used to reset USB phy (L1 iOS board has USB phy rst on shiftreg 2013-12-19 11:55:34 +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
Sam Chesney
0e25b24657 Updated MFi firmware version defines (to allow iAP1 and iAP2 to construct version info in required format) 2013-12-18 23:24:05 +00:00
Ross Owen
73d8aa1413 Removed reference to EP0_THREAD_COMBINED_WITH_SPI and assocaited params 2013-12-18 11:47:25 +00:00
Ross Owen
96b4360e4e Added comment about IAP ver no module_usb_audio/devicedefines.h 2013-12-16 16:45:29 +00:00
Ross Owen
728fb4f2cf Manual BCDDEVICE define change. 6.3.0 -> 6.3.1 2013-12-13 17:57:37 +00:00
Ross Owen
0e305b0207 Conflicted merge in descriptors.h 2013-12-12 12:20:08 +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
Ross Owen
e037be0f26 Merge commit 'a2a151b510be13c72a2ea0515c4eaead7dee43da' into 6V3_DEV 2013-12-12 11:56:32 +00:00
Ross Owen
1fa6e99473 Conflicted merge in mixer 2013-12-12 11:50:32 +00:00
Ross Owen
a3ea0d2858 Merge commit '4b22faaf690dd5c5a687b93f0ccaba21c0b19d39' into 6V3_DEV 2013-12-12 11:43:04 +00:00
Ross Owen
97281b80ba Merge commit 'a695e58524b1615a8bfd487bed1e555b2cbea362' into 6V3_DEV 2013-12-12 10:52:16 +00:00
Ross Owen
712300cf50 Merge commit 'f19653b759eb16616603cbd721bca92822ea032a' into 6V3_DEV 2013-12-12 10:51:16 +00:00
Ross Owen
3e35609c6a Merge branch '6V3_DEV' of git://git/apps/sc_usb_audio into 6V3_DEV 2013-12-12 10:27:37 +00:00
Ross Owen
22afdb295c Mixer: device chan map inline asm tidy 2013-12-12 10:27:33 +00:00
Ross Owen
a00d3c329b Fixed up tile defines in main.xc Some were hardcoded to 0 2013-12-11 18:19:15 +00:00
Richard Osborne
b2816ac3aa Remove commented out code. 2013-12-09 18:09:19 +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
4b6b98af10 Remove unnecessary runtime initialization. 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