All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Stanley <Ben.Stanley@exemail.com.au>
To: alsa-devel@alsa-project.org
Subject: SPDIF audio / non-audio bit
Date: Fri, 15 Aug 2008 00:48:41 +1000	[thread overview]
Message-ID: <1218725321.32652.14.camel@localhost> (raw)

Dear alsa-devel,

I recently advised this list of some problems I experienced with the
SPDIF audio / non-audio bit being set inappropriately while using the
ca0106 driver [1]. Seeing as I got no replies, I am trying again.

When playing AC3 encoded streams (Dolby Digital, DTS), the SPDIF
non-audio bit is set. Otherwise, for PCM streams, the SPDIF is set to
audio.

Could someone explain to me what part of the software is responsible for
correctly setting the SPDIF audio / non-audio bit? Is it
* alsa-driver
* alsa-lib
* application  ?

It seems to me that currently some applications (MythTV, xine) set it
correctly, but most other applications ignore it. So if it is set to
non-audio (because for example MythTV crashed before re-setting it to
audio), then all applications that are not aware of the setting have
their audio broken.

Could someone set me straight here so that I can try to produce a
permanent fix for this?

Thanks,
Ben Stanley.

[1] http://thread.gmane.org/gmane.linux.alsa.devel/54398/focus=55188

             reply	other threads:[~2008-08-14 14:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-14 14:48 Ben Stanley [this message]
2008-08-14 15:19 ` SPDIF audio / non-audio bit Takashi Iwai
2008-08-15 14:45   ` Ben Stanley
2008-08-15 14:59     ` Takashi Iwai
2008-08-15 15:56       ` Ben Stanley
2008-08-15 16:01         ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1218725321.32652.14.camel@localhost \
    --to=ben.stanley@exemail.com.au \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.