Browse Source

Document Macintosh USB audio workaround

dds
PaulStoffregen 8 years ago
parent
commit
c8d680c4a0
3 changed files with 23 additions and 0 deletions
  1. +8
    -0
      examples/HardwareTesting/PassThroughUSB/PassThroughUSB.ino
  2. +7
    -0
      examples/HardwareTesting/WavFilePlayerUSB/WavFilePlayerUSB.ino
  3. +8
    -0
      gui/index.html

+ 8
- 0
examples/HardwareTesting/PassThroughUSB/PassThroughUSB.ino View File

@@ -19,3 +19,11 @@ void setup() {
void loop() {
// TODO: make PC's volume setting control the SGTL5000 volume...
}

// A known problem occurs on Macintosh computers, where the Mac's driver
// does not seem to be able to adapt and transmit horribly distorted
// audio to Teensy after a matter of minutes. An imperfect workaround
// can be enabled by editing usb_audio.cpp. Find and uncomment
// "#define MACOSX_ADAPTIVE_LIMIT". More detailed info is available here:
// https://forum.pjrc.com/threads/34855-Distorted-audio-when-using-USB-input-on-Teensy-3-1?p=110392&viewfull=1#post110392


+ 7
- 0
examples/HardwareTesting/WavFilePlayerUSB/WavFilePlayerUSB.ino View File

@@ -54,3 +54,10 @@ void loop() {
playFile("SDTEST4.WAV");
delay(1500);
}

// A known problem occurs on Macintosh computers, where the Mac's driver
// does not seem to be able to adapt and transmit horribly distorted
// audio to Teensy after a matter of minutes. An imperfect workaround
// can be enabled by editing usb_audio.cpp. Find and uncomment
// "#define MACOSX_ADAPTIVE_LIMIT". More detailed info is available here:
// https://forum.pjrc.com/threads/34855-Distorted-audio-when-using-USB-input-on-Teensy-3-1?p=110392&viewfull=1#post110392

+ 8
- 0
gui/index.html View File

@@ -708,6 +708,10 @@ span.mainfunction {color: #993300; font-weight: bolder}
<p>USB input &amp; output does not cause the Teensy Audio Library to
update. At least one non-USB input or output object must be
present for the entire library to update properly.</p>
<p>A known problem exists with USB audio from Macintosh computers.
An imperfect <a href="https://forum.pjrc.com/threads/34855-Distorted-audio-when-using-USB-input-on-Teensy-3-1?p=110392&viewfull=1#post110392">workaround
can be enabled by editing usb_audio.cpp</a>.
Find and uncomment "#define MACOSX_ADAPTIVE_LIMIT".</p>
</script>
<script type="text/x-red" data-template-name="AudioInputUSB">
<div class="form-row">
@@ -1146,6 +1150,10 @@ span.mainfunction {color: #993300; font-weight: bolder}
<p>USB input &amp; output does not cause the Teensy Audio Library to
update. At least one non-USB input or output object must be
present for the entire library to update properly.</p>
<p>A known problem exists with USB audio from Macintosh computers.
An imperfect <a href="https://forum.pjrc.com/threads/34855-Distorted-audio-when-using-USB-input-on-Teensy-3-1?p=110392&viewfull=1#post110392">workaround
can be enabled by editing usb_audio.cpp</a>.
Find and uncomment "#define MACOSX_ADAPTIVE_LIMIT".</p>
</script>
<script type="text/x-red" data-template-name="AudioOutputUSB">
<div class="form-row">

Loading…
Cancel
Save