All of lore.kernel.org
 help / color / mirror / Atom feed
From: Erik Slagter <erik@slagter.name>
To: alsa-devel@lists.sourceforge.net
Subject: SPDIF/IEC958 sample rate on HDA/ALC882
Date: Wed, 01 Nov 2006 17:58:55 +0100	[thread overview]
Message-ID: <4548D24F.7080409@slagter.name> (raw)

Sorry if this is considered to be "user" question, but I got no response
at all from the "user" list. Guess the real cracks hang around here.

I have lots of questions I cannot resolve from all of the docs, but for
the moment I'll stick to the most important one.

The combination of HDA/ALC882 should be able to deliver sound at 96 kHz
(hda..., right...) Also the ALC882 datasheet says it can deliver sound
at 96 kHz.

In practise, though, I cannot get it to output any other sample rate
than 48 kHz. Any other sample rate handed to hw:0,0 is simply converted
(somewhere??? and badly...) to 48 kHz and the SPDIF is still driven at
48 kHz.

iecset allows me to set the rate to 32/44.1/48 kHz, the spdif output is
still at 48 kHz. Some other flags from iecset are actually honoured
(like "data" and "emphasis").

I can ask aplay to play at various rates (from a suitable PCM file), but
it complains at any other rate than 44.1 or 48 (notably 32) kHz that the
rate is not supported. It plays at 44.1 kHz though. And again converts
it to 48 kHz! Sigh...

Maybe I am using the wrong "hw", there is also a "hw:0,2" device, which
I cannot make work properly at all (only one channel is output, large
chunks are discarded, much much clipping).

Please help, I am totally lost here...

Info:

  0: [ 0]   : control
 16: [ 0- 0]: digital audio playback
 18: [ 0- 2]: digital audio playback
 24: [ 0- 0]: digital audio capture
 25: [ 0- 1]: digital audio capture
 33:        : timer

Alsa version 1.0.12rc1 (linux 2.6.18) on X86_64

Other output on request.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

             reply	other threads:[~2006-11-01 16:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-01 16:58 Erik Slagter [this message]
2006-11-28 12:48 ` SPDIF/IEC958 sample rate on HDA/ALC882 Takashi Iwai
     [not found]   ` <456C35F5.5070808@slagter.name>
2006-11-28 14:43     ` Takashi Iwai
     [not found]       ` <456C8316.30309@slagter.name>
2006-11-29 10:25         ` Takashi Iwai
2006-11-29 10:41           ` Erik Slagter
2006-11-29 10:54             ` Takashi Iwai
2006-11-29 11:18               ` Erik Slagter
2006-12-08 13:55   ` Erik Slagter
2006-12-11 12:50   ` Erik Slagter
     [not found]   ` <loom.20070321T222449-537@post.gmane.org>
     [not found]     ` <87648thdes.fsf@gandalf.hd.free.fr>
     [not found]       ` <udejnhy14a.fsf@sid.nimrod.no>
     [not found]         ` <ud8xdpxw1y.fsf@sid.nimrod.no>
     [not found]           ` <874podj8rw.fsf@gandalf.hd.free.fr>
     [not found]             ` <87zm65htl3.fsf@gandalf.hd.free.fr>
     [not found]               ` <udvegss2jm.fsf@sid.nimrod.no>
     [not found]                 ` <87ircr7o8n.fsf@gandalf.hd.free.fr>
     [not found]                   ` <udbqijefbj.fsf@sid.nimrod.no>
     [not found]                     ` <87ps6z3wbn.fsf_-_@gandalf.hd.free.fr>
     [not found]                       ` <udmz21sosc.fsf@sid.nimrod.no>
     [not found]                         ` <87r6rbn7xp.fsf@gandalf.hd.free.fr>
     [not found]                           ` <udps6t7cz3.fsf@sid.nimrod.no>
     [not found]                             ` <87y7ler7ng.fsf@gandalf.hd.free.fr>
     [not found]                               ` <s5h7isvktie.wl%tiwai@suse.de>
     [not found]                                 ` <kgitzvx6feb.fsf@komarr.grenoble.hp.com>
     [not found]                                   ` <s5h4pnxinny.wl%tiwai@suse.de>
     [not found]                                     ` <87k5wtjrev.fsf_-_@gandalf.hd.free.fr>
     [not found]                                       ` <kgiwt0s4jpv.fsf@komarr.grenoble.hp.com>
     [not found]                                         ` <udd52kqlhv.fsf@sid.nimrod.no>
     [not found]                                           ` <s5hvegcdxun.wl%tiwai@suse.de>
     [not found]                                             ` <udabxf9uvz.fsf@sid.nimrod.no>
     [not found]                                               ` <s5htzvnz0jy.wl%tiwai@suse.de>
2007-04-22 11:01                                                 ` [PATCH] Re: iec958 switch uneffective while playing ac3 stream Dag Lem

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=4548D24F.7080409@slagter.name \
    --to=erik@slagter.name \
    --cc=alsa-devel@lists.sourceforge.net \
    /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.