0% found this document useful (0 votes)
12 views1 page

Audio Loop

The document contains a C program that initializes an audio interface for the L138 LCDK with a sample rate of 48 kHz and specific gain and attenuation settings. It continuously reads an audio sample from an input and outputs it. The main function runs an infinite loop to handle audio processing.

Uploaded by

parasprrm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views1 page

Audio Loop

The document contains a C program that initializes an audio interface for the L138 LCDK with a sample rate of 48 kHz and specific gain and attenuation settings. It continuously reads an audio sample from an input and outputs it. The main function runs an infinite loop to handle audio processing.

Uploaded by

parasprrm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

#include "L138_LCDK_aic3106_init.

h"
int main(void)
{
uint32_t sample;
L138_initialise_poll(FS_48000_HZ,ADC_GAIN_0DB,DAC_ATTEN_0DB,LCDK_LINE_INPUT);
while(1)
{
sample = input_sample();
output_sample(sample);
}
}

You might also like