Commit Graph

162 Commits

Author SHA1 Message Date
Ross Owen
75e1bf69aa DEFAULT_FREQ now MIN_FREQ 2013-10-29 11:59:37 +00:00
Ross Owen
f00629f469 Added doI2SClocks function and checks for MAX_DIVIDE 2013-10-29 11:52:17 +00:00
Ross Owen
3232c05caa midi.h include guarded by MIDI define 2013-10-28 12:30:59 +00:00
Ross Owen
015d56195d Including dsd_support.h instead of dsd.h and fix build issue due to missing bracket 2013-10-28 12:30:23 +00:00
Ross Owen
eb95a1532c Added dsd_support.h 2013-10-24 11:19:17 +01:00
Ross Owen
84c267bac8 Removed enum DsdMode as bit of a pain for non-dsd users 2013-10-24 10:55:49 +01:00
Ross Owen
1281963a55 Added DSDMode enum 2013-10-24 10:51:17 +01:00
Ross Owen
60c04400ac Fixing up build issues related to dsdMode 2013-10-24 10:50:44 +01:00
Ross Owen
f0f9c1ecdb Tidy up clockcmds header 2013-10-23 17:20:16 +01:00
Ross Owen
538f6f3bf3 Added MIN_FREQ define, MAX_FREQ now auto-defined as 192k, Native DSD enabled by default (if DSD enabled) 2013-10-23 12:39:48 +01:00
Ross Owen
d74bd15ed4 DSD freq to audiohwconfig() tidyup and generic divide calc 2013-10-23 12:29:11 +01:00
Ross Owen
6c5253abb0 A more elegant solution to the DSD stop_clock() pausing issue. Just set ALL clocks to 0 before deliver returns 2013-10-16 19:09:21 +01:00
Ross Owen
5f22f37396 Added quick hack workaround for making sure the clock port is low before a clock block is stopped 2013-10-16 18:12:42 +01:00
Ross Owen
23ecffe691 Fixed spacing in vendor strings 2013-10-16 18:11:16 +01:00
Ross Owen
4fbca6871b Tidied up DSD clock divide 2013-10-16 18:07:37 +01:00
Ross Owen
82876da22c String tidy 2013-09-20 12:03:08 +01:00
Ross Owen
13bd9d9b06 SET_CONFIG now falls though to StandardRequests() 2013-09-19 17:04:16 +01:00
Ross Owen
58f13deb92 Removed port.h from main.xc 2013-09-18 17:32:04 +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
cdef644159 removed mute byte and added strDesc length 2013-09-18 15:01:21 +01:00
Ross Owen
01c5c2b1a8 Max packet size defines added and used for for maxPacketLength 2013-09-18 14:53:30 +01:00
Ross Owen
e8abe94f07 Audio 2 reports restricted sample freq list if running in fs 2013-09-18 14:52:46 +01:00
Ross Owen
d79d30ff24 Added NUM_USB_CHAN_OUT_FS and NUM_USB_CHAN_IN_FS defines 2013-09-18 14:52:00 +01:00
Ross Owen
8ce31a4e35 Deliver handles underflow 2013-09-18 14:51:24 +01:00
Ross Owen
8e91f2749f Comment only 2013-09-16 22:51:31 +01:00
Ross Owen
212cb68cfa MAX_PACKET_SIZE_OUT_AUDIO_2 define added (currently not used) 2013-09-16 22:50:14 +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
13c0668536 STEAMING_ALT1_OFFSET define added 2013-09-13 23:37:12 +01:00
Ross Owen
a4bace28a6 Audio 2 config desc patched based on speed (for FS UAC2 mode). Guarded by FULL_SPEED_AUDIO_2 2013-09-13 23:36:36 +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
9631982576 Mclk clock-block never stopped 2013-09-09 23:41:26 +01:00
Ross Owen
3a746c5c56 Moved samp freq globals to audioreqs 2013-09-09 23:40:49 +01:00
Ross Owen
3f7c00e49f Moved samp freq globals to audioreqs 2013-09-09 23:40:29 +01:00
Ross Owen
f201614224 MCLK clockblock now configed and started in audio, not in configAudioPorts. It is now never stopped since this caused issues with FB when moving to/from DoP mode 2013-09-09 23:39:34 +01:00
Ross Owen
71797cc608 Fixed up debug FB tolerance test build 2013-09-09 23:38:22 +01:00
Ross Owen
ea5cc2860a whitespace only 2013-09-06 18:17:08 +01:00
Ross Owen
429de9a8b4 Exit DoP on any command 2013-09-06 16:51:17 +01:00
Ross Owen
c94991649a reversed DSD mute bytes 2013-09-06 14:24:42 +01:00
Ross Owen
bb14b6018d First DSD 16 samples were being output as all 1 2013-09-06 14:21:46 +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
4651dcf71f Define, stringtable and whitespace tidy 2013-09-05 23:19:56 +01:00
Ross Owen
a952c18a83 Tidy only 2013-09-05 23:19:07 +01:00
Ross Owen
04dd2a2a05 Improving clicks entering/leaving DoP mode 2013-09-05 23:18:34 +01:00
Ross Owen
1d6290aea3 Tidyied up previous fix for strings 2013-08-30 14:43:43 +01:00
Ross Owen
a1e2e4f8ee Space was missing between vendor string and string of entity (such as clock source etc 2013-08-30 13:23:30 +01:00
Ross Owen
d889ab5bce DSD/PCM mode now rememebered and only changed when required. Re-oreded when Stream Start/Stop is called for better use with Mute signals. Writes to shared mute sample 2013-08-29 19:28:31 +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
1fa34042d9 AUDIO_PLL_LOCK_DELAY guarded by ifndef 2013-08-29 19:26:30 +01:00
Ross Owen
1e33bf819d Changes to support DSD Native mode 2013-08-23 14:23:37 +01:00