All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH 0/8] ALSA: dice: constrain PCM substreams to current sampling transfer frequency
@ 2015-11-15  9:25 Takashi Sakamoto
  2015-11-15  9:25 ` [PATCH 1/8] ALSA: dice: limit " Takashi Sakamoto
                   ` (8 more replies)
  0 siblings, 9 replies; 22+ messages in thread
From: Takashi Sakamoto @ 2015-11-15  9:25 UTC (permalink / raw)
  To: clemens, tiwai; +Cc: alsa-devel, ffado-devel

Hi,

This patchset adds a constrain to ALSA dice driver to start PCM
substreams and AMDTP packet transferring just at current sampling
transfer frequency.

Dice hardware doesn't allow drivers to get supported combinations
between sampling rate and PCM channels. ALSA dice driver should follow
to the hardware design, though current ALSA driver has some
over-specifications. As a result, the driver has several issue and
brings inconvenience to users.

This patchset consists of two parts:
 * 01-05: to add constrain to current sampling transfer frequency and related
	  code cleanup
 * 06-08: to ensure and stabilize AMDTP packet transmission

As a result, userspace applications can request PCM substreams at current
sampling transfer frequency. Therefore, when users want to start PCM
substreams at different rate, they should set the rate in advance by the
other ways (i.e. ffado-dbus-server/ffado-mixer).

Takashi Sakamoto (8):
  ALSA: dice: limit to current sampling transfer frequency
  ALSA: dice: limit stream to current sampling transfer frequency.
  ALSA: dice: add MIDI ports according to current number of MIDI
    substreams
  ALSA: dice: get the number of MBLA data channel at opening PCM
    substream
  ALSA: dice: purge generating channel cache
  ALSA: dice: ensure phase lock before starting streaming
  ALSA: dice: expand timeout to wait for Dice notification
  ALSA: dice: wait for ensuring phase lock

 sound/firewire/dice/dice-midi.c        |  25 +++-
 sound/firewire/dice/dice-pcm.c         | 205 ++++++++++-----------------------
 sound/firewire/dice/dice-stream.c      | 118 +++++++++++++------
 sound/firewire/dice/dice-transaction.c | 109 ------------------
 sound/firewire/dice/dice.c             |  67 +----------
 sound/firewire/dice/dice.h             |  14 +--
 6 files changed, 162 insertions(+), 376 deletions(-)

-- 
2.5.0

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2015-11-25  0:08 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-15  9:25 [RFC][PATCH 0/8] ALSA: dice: constrain PCM substreams to current sampling transfer frequency Takashi Sakamoto
2015-11-15  9:25 ` [PATCH 1/8] ALSA: dice: limit " Takashi Sakamoto
2015-11-15  9:25 ` [PATCH 2/8] ALSA: dice: limit stream " Takashi Sakamoto
2015-11-15  9:25 ` [PATCH 3/8] ALSA: dice: add MIDI ports according to current number of MIDI substreams Takashi Sakamoto
2015-11-15  9:25 ` [PATCH 4/8] ALSA: dice: get the number of MBLA data channel at opening PCM substream Takashi Sakamoto
2015-11-15  9:25 ` [PATCH 5/8] ALSA: dice: purge generating channel cache Takashi Sakamoto
2015-11-20  0:15   ` Stefan Richter
2015-11-15  9:25 ` [PATCH 6/8] ALSA: dice: ensure phase lock before starting streaming Takashi Sakamoto
2015-11-15  9:25 ` [PATCH 7/8] ALSA: dice: expand timeout to wait for Dice notification Takashi Sakamoto
2015-11-15  9:25 ` [PATCH 8/8] ALSA: dice: wait for ensuring phase lock Takashi Sakamoto
2015-11-18 14:13 ` [RFC][PATCH 0/8] ALSA: dice: constrain PCM substreams to current sampling transfer frequency Takashi Iwai
2015-11-19  3:34   ` Takashi Sakamoto
2015-11-19 10:19     ` Takashi Iwai
2015-11-20  4:11       ` Takashi Sakamoto
2015-11-20  9:25         ` Takashi Iwai
2015-11-20 11:19           ` Takashi Sakamoto
2015-11-20 11:29             ` Takashi Iwai
2015-11-21  0:29               ` Takashi Sakamoto
2015-11-21  9:46                 ` Takashi Iwai
2015-11-24 15:04                   ` Takashi Sakamoto
2015-11-24 15:33                     ` Takashi Iwai
2015-11-25  0:08                       ` Takashi Sakamoto

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.