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

Problem with S/PDIF output #21

Closed
anLENIN opened this issue Jun 23, 2018 · 1 comment
Closed

Problem with S/PDIF output #21

anLENIN opened this issue Jun 23, 2018 · 1 comment

Comments

@anLENIN
Copy link

anLENIN commented Jun 23, 2018

I have Creative Omni Surround USB sound card connected to steamlink. In Kodi it's available to select one of 4 audio output devices - 3 analog and 1 S/PDIF, passthrough device is blanked automatically selected CREATIVE OMNI S/PDIF. But it doesn't matter what is chosen, all output is sent to analog output of the card (and silence through optical out). Even ac3/dts passthrough is working that way - with scratches out of speakers.

Similar problem with same card:
https://www.linuxquestions.org/questions/linux-hardware-18/alsa-sb-omni-surround-5-1-iec958-is-routed-to-the-analog-output-not-the-digital-output-4175609669/

@anLENIN
Copy link
Author

anLENIN commented Aug 15, 2018

The easiest solution is just create alsa config file /etc/asound.conf (with help of SSH) with new "raw" iec958 with right device number:
pcm.iec958raw {
@Args [ CARD ]
@args.CARD { type string }
type hw
card $CARD
device 1
hint {
show {
@func refer
name defaults.namehint.basic
}
description "IEC958 (AC3) Digital Audio Output without any conversions"
device 1
}
}

Now there is another problem:
If you choose new device as audio output in Kodi, videos start to stutter after a few seconds of playing, though their audio streams are played ok

@anLENIN anLENIN closed this as completed Aug 15, 2018
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

1 participant