Page 1 of 1

macOS displays wrong iChannelNames

Posted: Fri Jan 20, 2017 3:12 am
by xmosfan
Hello.
I am checking iChannelNames on macOS - OS X El Capitan.
The firmware of XMOS is based on USB Audio 6.12.6.
I changed \module_usb_audio\endpoint0\chanstrings.h like follows.

Code: Select all

#if (NUM_USB_CHAN_OUT > 1-1)
    .outputChanStr_1          = ""
    #if (1 < I2S_CHANS_DAC+1)
        "Analogue Out1"
    #endif

Code: Select all

#if (NUM_USB_CHAN_IN > 1-1)
    .inputChanStr_1          = ""
    #if (1 < I2S_CHANS_ADC+1)
        "Analogue In1"
    #endif
But, when I connected XMOS to Mac, macOS displayed Input Channel Name as follow.
"1: Analogue Out1"
I doubt that there is a mistake in the descriptor about iChannelNames.

Re: macOS displays wrong iChannelNames

Posted: Tue Jan 24, 2017 3:39 am
by xmosfan
I found that this issue is occurred by following definition.

Code: Select all

#define INPUT_VOLUME_CONTROL        0
I guess that \module_usb_audio\endpoint0\descriptors.h is something wrong.
(Is `Audio_In_OutputTerminal' is correct?)