Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: irfanks <irfan.shaikh@sasken.com>
To: alsa-devel@alsa-project.org
Subject: SNDRV_PCM_TRIGGER_STOP not called
Date: Fri, 23 Nov 2012 17:14:50 +0530	[thread overview]
Message-ID: <50AF61B2.5@sasken.com> (raw)

Hello All,

                 We are facing issue when forceful disconnection of 
isochronous USB ALSA device (IPOD).

Problems as below :
1) SNDRV_PCM_TRIGGER_STOP in snd_usb_substream_capture_trigger() is not 
getting called.
2) We have tried calling snd_pcm_drain(), snd_pcm_drop() and 
snd_pcm_close() from application, which should STOP the PCM device as 
from API description.

But still SNDRV_PCM_TRIGGER_STOP is not getting called.

      Please can you suggest the possibilities of SNDRV_PCM_TRIGGER_STOP 
not called in usb alsa capture driver.
      Also please suggest how to achieve the above ?

Thanks in advance !! Response wil be appreciated !!!

Best Regards,

             reply	other threads:[~2012-11-23 11:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-23 11:44 irfanks [this message]
2012-11-23 20:07 ` SNDRV_PCM_TRIGGER_STOP not called 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=50AF61B2.5@sasken.com \
    --to=irfan.shaikh@sasken.com \
    --cc=alsa-devel@alsa-project.org \
    /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