Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SB Omni Surround 5.1 #101

Closed
witoldo7 opened this issue Nov 24, 2020 · 3 comments
Closed

SB Omni Surround 5.1 #101

witoldo7 opened this issue Nov 24, 2020 · 3 comments

Comments

@witoldo7
Copy link

Hi,
SB Omni Surround 5.1 use default hw 1 for iec958.0 please update USB-Audio.conf, 0 is used for dac(jack connectors)

@perexg
Copy link
Member

perexg commented Jan 7, 2021

What's the exact string to be added? Or show the output from alsa-info.sh script. Thank you.

@witoldo7
Copy link
Author

witoldo7 commented Apr 4, 2021

I'm lazy so I just modified :

USB-Audio.pcm.iec958.0 {
        @args [ CARD AES0 AES1 AES2 AES3 ]
        @args.CARD { type string }
        @args.AES0 { type integer }
        @args.AES1 { type integer }
        @args.AES2 { type integer }
        @args.AES3 { type integer }
        @func refer
        name {
                @func concat
                strings [
                        "cards.USB-Audio."
                        { @func card_name card $CARD }
                        ".pcm.iec958:CARD=" $CARD
                        ",AES0=" $AES0 ",AES1=" $AES1 ",AES2=" $AES2 ",AES3=" $AES3
                ]
        }
        default {
                # FIXME: we cannot set the AES parameters
                type hw
                card $CARD
                device {
                        @func refer
                        name {
                                @func concat
                                strings [
                                        "cards.USB-Audio.pcm.iec958_device."
                                        { @func card_name card $CARD }
                                ]
                        }
here -->>                        default 0  to 1
                }
        }
}

https://pastebin.com/EmXLjVeq

perexg added a commit that referenced this issue Apr 13, 2021
BugLink: #101
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
@perexg
Copy link
Member

perexg commented Apr 13, 2021

Fixed in 8f2b64f . Thank you.

@perexg perexg closed this as completed Apr 13, 2021
lgirdwood pushed a commit to thesofproject/alsa-lib that referenced this issue May 31, 2021
BugLink: alsa-project#101
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants