From: Clemens Ladisch <clemens@ladisch.de>
To: kallipygos@inbox.lv
Cc: alsa-devel@alsa-project.org
Subject: Re: using ALSA one call
Date: Tue, 10 Feb 2009 16:04:05 +0100 [thread overview]
Message-ID: <49919765.4000706@ladisch.de> (raw)
In-Reply-To: <1234269014.49917356f0157@mail.inbox.lv>
kallipygos@inbox.lv wrote:
> OK , this example works
> http://www.alsa-project.org/alsa-doc/alsa-lib/_2test_2pcm__min_8c-example.html
> but only if samplerate = 48000;
> if samplerate = 44100 - then not :(
> 44k file play in 48k mode :D it sounds funnee :D
>
> I remixed this program so that it read data from wave file.
>
> gcc pcm_min01.c -lasound -O2 -o pcm_min01
> ./pcm_min01 '/mnt/hda2/Booty Luv - Shine/Booty Luv - Shine (Ian Carey remix).wav'
> i gotta this :
> ALSA lib pcm.c:7160:(snd_pcm_set_params) Rate doesn't match (requested 44100Hz, get 0Hz)
Please show the source code of your program.
Best regards,
Clemens
next prev parent reply other threads:[~2009-02-10 15:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-10 12:30 using ALSA one call kallipygos
2009-02-10 15:04 ` Clemens Ladisch [this message]
2009-02-10 22:47 ` Alfs Kurmis
2009-02-11 8:55 ` Clemens Ladisch
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=49919765.4000706@ladisch.de \
--to=clemens@ladisch.de \
--cc=alsa-devel@alsa-project.org \
--cc=kallipygos@inbox.lv \
/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