#defines in USB-Audio-2.0-Device-Software Topic is solved

If you have a simple question and just want an answer.
ffomich
Experienced Member
Posts: 119
Joined: Mon Sep 15, 2014 1:32 pm

#defines in USB-Audio-2.0-Device-Software

Post by ffomich »

Hello!

I am interesting in app_usb_aud_l2 project.

There are some #defines:

IN_VOLUME_IN_MIXER

IN_VOLUME_AFTER_MIXER

OUT_VOLUME_IN_MIXER

OUT_VOLUME_AFTER_MIXER

FAST_MIXER

Is any documentation for these defines?

How volume is calculated when these variables are defined?

 

 



View Solution
User avatar
Thomas
Experienced Member
Posts: 66
Joined: Fri Feb 05, 2010 12:34 pm

Post by Thomas »

Hi
These #defines are not document in the https://www.xmos.com/published/sw_usb_a ... sign-guide

The #defines you mentioned determine where the multiplications are performed for the input volume and the output volume.

#define FAST_MIXER activates a performance optimised mixer