Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Geier <martin.geier@streamunlimited.com>
To: Raymond Yau <superquad.vortex2@gmail.com>
Cc: ALSA Development Mailing List <alsa-devel@alsa-project.org>
Subject: Re: snd_pcm_set_params faild on set_buffer_time_near and set_period_time_near
Date: Thu, 23 Jul 2015 09:33:43 +0200	[thread overview]
Message-ID: <55B098D7.9060207@streamunlimited.com> (raw)
In-Reply-To: <CAN8cciYbrxgP6TvC36kPzgaTrFJ00oxXfDu2zxPyGA9UW837SA@mail.gmail.com>

I am using 'davinci' soc driver with board specific driver.

On 23.07.2015 09:19, Raymond Yau wrote:
>
>
> >
> > I tried to configure alsa device with snd_pcm_set_params function, 
> requested
> > parameters was:
> > channel 2, rate: 22050, soft_resample: 1, latency: 50000
>
> The function snd_pcm_set_params does not always succed especially you 
> are using 22050Hz which is 20ms increment
>
> Which soc driver ? It is quite difficult to find the soutce by chip name
>
> https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/soc
>

-- 
*StreamUnlimited*
High Tech Campus Vienna, Gutheil-Schoder-Gasse 10, A-1102 Vienna, Austria
Levocska 9, 851 01 Bratislava, Slovakia
Email: martin.geier@streamunlimited.com
www.streamunlimited.com

  reply	other threads:[~2015-07-23  7:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-21  8:52 snd_pcm_set_params faild on set_buffer_time_near and set_period_time_near Martin Geier
2015-07-23  7:19 ` Raymond Yau
2015-07-23  7:33   ` Martin Geier [this message]
2015-07-23  8:11 ` Takashi Iwai
2015-07-24  7:52   ` Martin Geier
2015-07-24  8:21     ` Takashi Iwai
2015-07-24 11:16       ` Martin Geier
2015-07-25  2:01         ` Raymond Yau
2015-07-27  7:12           ` Martin Geier
2015-07-27  8:36             ` Raymond Yau

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=55B098D7.9060207@streamunlimited.com \
    --to=martin.geier@streamunlimited.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=superquad.vortex2@gmail.com \
    /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