Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • mcginty's Avatar
    12-19-2022, 06:21 AM
    Just tried 44.1kHz with 128 sample blocks and didn't notice any problems. Haven't left it running overnight, though :).
    49 replies | 6599 view(s)
  • mcginty's Avatar
    12-18-2022, 07:11 PM
    Hah, well let me know how that goes as it continues to not be a sausage. I left the teensy on overnight at 8x 96kHz 16bit and no over/under runs and a relatively stable Momentary Frequency hovering around 96001 and...
    49 replies | 6599 view(s)
  • mcginty's Avatar
    12-18-2022, 05:02 AM
    Quick update, I'm now able to stream 8 channels of 96kHz 16-bit audio with no overruns/underruns and a pretty stable "momentary frequency." Pushed my code to my repository
    49 replies | 6599 view(s)
  • mcginty's Avatar
    12-17-2022, 07:04 AM
    Sorry I missed your PR from a couple days ago! I'll check it out. FWIW, I was spending time myself with various levels of complexity in trying to fix the feedback overrun/underrun problem, and have ended up with this:...
    49 replies | 6599 view(s)
  • mcginty's Avatar
    12-13-2022, 11:08 PM
    Yep, I'm talking about the AUDIO_BLOCK_SAMPLES define.
    49 replies | 6599 view(s)
  • mcginty's Avatar
    12-13-2022, 10:59 PM
    Is your glitching at 96kHz, or the library-standard 44.1kHz? While I observe that drift there were no underflows or overflows, so the feedback code works but could maybe be improved to not allow that slow drift (one...
    49 replies | 6599 view(s)
  • mcginty's Avatar
    12-13-2022, 10:13 PM
    Yes sorry, by "could" i meant that according to the USB specification, the Teensy has the *option* of reacting to explicit sink feedback, but is not currently. Strangely, grepping for uses of "usb_audio_sync_feedback",...
    49 replies | 6599 view(s)
  • mcginty's Avatar
    12-13-2022, 09:30 PM
    Sorry just to clarify, in your application are you using AudioInputUSB, AudioOutputUSB, or both? sync_event() is only called for AudioInputUSB, as AudioOutputUSB reports itself as an adaptive endpoint and has no...
    49 replies | 6599 view(s)
  • mcginty's Avatar
    12-13-2022, 06:33 AM
    Oops, thank you for correcting me there. Sorry, I'm very new to developing with USB. Well, the poll interval of 125Ás did seem to work just fine which is good news :). I suppose it makes sense, as the buffers just get...
    49 replies | 6599 view(s)
  • mcginty's Avatar
    12-12-2022, 03:24 AM
    Sorry for my late reply (I've been focusing on my PCB design this last week)! Thanks for the followup. I instrumented with a mix of Linux's ALSA debugging info and Serial4 output on the Teensy (using the debug printf...
    49 replies | 6599 view(s)
No More Results

Statistics


Total Posts
Total Posts
20
Posts Per Day
0.25
Last Post
USB Audio Frame Sync on Teensy 4.0 12-19-2022 06:21 AM
General Information
Join Date
11-16-2022