From: Carlos Munoz <carlos@kenati.com>
To: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: snd_pcm_hw_params_get_period_size() returning 0
Date: Fri, 31 Mar 2006 17:00:07 -0800 [thread overview]
Message-ID: <442DD097.40901@kenati.com> (raw)
Hi all,
I tested my new driver with a simple application I wrote. I can play and
record pcm files with no problem. However, I'm unable to get aplay to
work. aplay just hangs. I was able to trace it to aplay.c:playback_go().
aplay is stuck in the while loop. After closer examination it turns out
that the reason is because previously
snd_pcm_hw_params_get_period_size() had set the period size to 0. Does
any one know why
snd_pcm_hw_params_get_period_size() would be returning 0 ? Is it
something the driver did/didn't do ?
Thanks,
Carlos
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
next reply other threads:[~2006-04-01 1:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-01 1:00 Carlos Munoz [this message]
2006-04-01 1:57 ` snd_pcm_hw_params_get_period_size() returning 0 Lee Revell
2006-04-01 1:59 ` Lee Revell
2006-04-01 2:20 ` Carlos Munoz
2006-04-03 10:22 ` Takashi Iwai
2006-04-03 17:46 ` Carlos Munoz
2006-04-03 18:33 ` Takashi Iwai
2006-04-03 18:38 ` Jaroslav Kysela
2006-04-03 19:37 ` Carlos Munoz
2006-04-05 17:53 ` Carlos Munoz
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=442DD097.40901@kenati.com \
--to=carlos@kenati.com \
--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 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.