macOS displays wrong iChannelNames

Technical discussions related to any XMOS development kit or reference design. Eg XK-1A, sliceKIT, etc.
Post Reply
xmosfan
Member
Posts: 13
Joined: Tue Dec 13, 2016 9:45 am

macOS displays wrong iChannelNames

Post 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.


xmosfan
Member
Posts: 13
Joined: Tue Dec 13, 2016 9:45 am

Post 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?)
Post Reply