From: Pavel Hofman <pavel.hofman@insite.cz>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: Takashi Iwai <tiwai@suse.de>,
ALSA development <alsa-devel@alsa-project.org>
Subject: Re: ICE1724 - File descriptor in bad state when capturing
Date: Tue, 11 Mar 2008 14:25:58 +0100 [thread overview]
Message-ID: <47D68866.2030702@insite.cz> (raw)
In-Reply-To: <47D63632.60808@ladisch.de>
[-- Attachment #1: Type: text/plain, Size: 704 bytes --]
Clemens Ladisch wrote:
> Pavel Hofman wrote:
>> Whereas for the broken analog input, the sequence is
>>
>> 1. snd_pcm_lib_read1 with SNDRV_PCM_STATE_PREPARED - returns 0
>> 2. snd_pcm_lib_read1 with SNDRV_PCM_STATE_SETUP - returns -EBADFD
>
> I'd guess that your trigger callback fails somehow, bit this is
> hard to determine without the source code.
Thanks, I will do more testing in the evening. Just in case, I am
including the relevant files. I moved all rate-relevant stuff to
card-specific routines, redefined in juli.c. The trigger code was not
changed at all.
Perhaps those new snd_pcm_hardware structs in juli.c (I do not know the
exact meaning of the _bytes_ ones)?
Thanks a lot.
Pavel.
[-- Attachment #2: juli.zip --]
[-- Type: application/zip, Size: 26833 bytes --]
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2008-03-11 13:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-09 22:56 ICE1724 - File descriptor in bad state when capturing Pavel Hofman
2008-03-10 11:08 ` Takashi Iwai
2008-03-10 21:39 ` Pavel Hofman
2008-03-11 7:35 ` Clemens Ladisch
2008-03-11 13:25 ` Pavel Hofman [this message]
[not found] ` <47D63D6A.10503@insite.cz>
2008-03-11 15:11 ` Clemens Ladisch
2008-03-11 15:21 ` Pavel Hofman
2008-03-11 19:46 ` Pavel Hofman
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=47D68866.2030702@insite.cz \
--to=pavel.hofman@insite.cz \
--cc=alsa-devel@alsa-project.org \
--cc=clemens@ladisch.de \
--cc=tiwai@suse.de \
/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