Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Benny Sjostrand <gorm@cucumelo.org>
To: alsa-devel@lists.sourceforge.net
Subject: [PATCH] cs46xx, rear and IEC958 PCM channels, moved SCB initialization from from _prepare() -> _hw_params(), etc.
Date: Thu, 31 Oct 2002 01:01:36 +0100	[thread overview]
Message-ID: <3DC072E0.7060608@cucumelo.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1190 bytes --]

Hi!

Once again, updated cs46xx patch.
So, here's a attempt to move stuff from snd_cs46xx_playback_prepare(...),
to snd_cs46xx_hw_params(...), thing works,  but I dont like the aproach,
the main reason is that snd_cs46xx_hw_params(...) is not a good place
for adjusting the sample rate. I've noticed that some OSS applications
the hw_params is called upto 3 times, and I've found a way to find
out when actually the sample rate is set to the value the application
is going to proceed with.


Summary of changes:
- Rear PCM channel
- IEC958 PCM channel
- Turn on Amplifier and setup EGPIO for Santa Cruz card on init
- Fixed voyetra typo  on request  ("voyectra" -> "voyetra")
- Turn ON the HBP bit in SERBCF register, in the cs4630 spec. it
  says that it should be ON to access the FIFO via the backdoors.
- More cleanups in voyetra_setup_eapd_slot(...), same aproach as
   in snd_cs46xx_clear_serial_FIFOs(...), both functions access
    the FIFO's and basically in the same way.
- Some minor cleanups in snd_cs46xx_clear_serial_FIFOs(...)
- Move SCB stuff from snd_cs46xx_playback_prepare(...) to 
snd_cs46xx_playback_hw_params(...)
  course mutexes cant be used in prepare(...)

/Benny

[-- Attachment #2: cs46xx.patch.gz --]
[-- Type: application/postscript, Size: 10162 bytes --]

             reply	other threads:[~2002-10-31  0:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-31  0:01 Benny Sjostrand [this message]
2002-10-31  8:35 ` patch download (was: [PATCH] cs46xx, rear and IEC958 PCM channels, moved SCB initialization from from _prepare() -> _hw_params(), etc.) Benny Sjostrand
2002-10-31 10:40 ` [PATCH] cs46xx, rear and IEC958 PCM channels, moved SCB initialization from from _prepare() -> _hw_params(), etc Takashi Iwai
2002-10-31 15:12   ` Benny Sjostrand
2002-10-31 15:13     ` 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=3DC072E0.7060608@cucumelo.org \
    --to=gorm@cucumelo.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox