Having a problem getting Line Inputs to work.
iPhone>LineIn
T3.1, building as USB Audio.
Expecting to find a signal passed to the headphone jack.
No output at all.
Tried many examples, but this is an attempt to write a very simple sketch.
Seems there should be some routing code to patch the LI into other audio objects like the System Design Tool provides, but the method eludes me.
What am I missing?
iPhone>LineIn
T3.1, building as USB Audio.
Expecting to find a signal passed to the headphone jack.
No output at all.
Tried many examples, but this is an attempt to write a very simple sketch.
Code:
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <SerialFlash.h>
AudioOutputI2S i2s1;
AudioControlSGTL5000 sgtl5000_1;
void setup() {
AudioMemory(12);
sgtl5000_1.enable();
sgtl5000_1.volume(5);
sgtl5000_1.inputSelect(AUDIO_INPUT_LINEIN);
sgtl5000_1.lineInLevel(5);
}
void loop() {
}
Seems there should be some routing code to patch the LI into other audio objects like the System Design Tool provides, but the method eludes me.
What am I missing?