Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Rene Herman <rene.herman@keyaccess.nl>
To: Peteris Krisjanis <pecisk@gmail.com>
Cc: alsa-user@lists.sourceforge.net,
	ALSA devel <alsa-devel@alsa-project.org>
Subject: Re: How to get set/fixed sample rate of ALSA device?
Date: Mon, 08 Oct 2007 00:27:08 +0200	[thread overview]
Message-ID: <47095D3C.5030901@keyaccess.nl> (raw)
In-Reply-To: <470958A9.7040607@keyaccess.nl>

On 10/08/2007 12:07 AM, Rene Herman wrote:

> On 10/07/2007 07:04 PM, Peteris Krisjanis wrote:

>> So you suggest to open device via any means and then read that file? I 
>> did this and it works. I guess I can even try to implement it in app
>> and check for sample rate everytime before I play.

Oh, I only notice this now by the way. If you are actually going to play, I 
believe you should just try and set the params you want and see if it works 
(or test them first, through things like snd_pcm_hw_params_test_rate().

Rene.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

  reply	other threads:[~2007-10-07 22:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <b97f4ee40710061456l5aa0764alce22c505401c7e6f@mail.gmail.com>
     [not found] ` <4708F918.3060207@keyaccess.nl>
     [not found]   ` <b97f4ee40710071004o23ea40a1w8c8f754b47083b95@mail.gmail.com>
2007-10-07 22:07     ` How to get set/fixed sample rate of ALSA device? Rene Herman
2007-10-07 22:27       ` Rene Herman [this message]
     [not found]       ` <200710080841.37709.markc@renta.net>
2007-10-07 23:52         ` Rene Herman
2007-10-08 19:09       ` Peteris Krisjanis
2007-10-08 19:14         ` Bill Unruh
2007-10-08 19:30           ` Rene Herman
2007-10-09  0:23             ` Rene Herman
2007-10-15 20:20               ` [Alsa-user] " Rene Herman
2007-10-16 13:26                 ` [alsa-devel] " 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=47095D3C.5030901@keyaccess.nl \
    --to=rene.herman@keyaccess.nl \
    --cc=alsa-devel@alsa-project.org \
    --cc=alsa-user@lists.sourceforge.net \
    --cc=pecisk@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