Skip to contentSkip to conversation

SNDRV_PCM_TRIGGER_STOP not called

DISCUSSION irfanks 2 participants 2 messages Nov 23, 2012

lore
Share & tools
lore

irfanks

author
#0 lore 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,

#1 lore raw
Quoted 4 lines · irfanks

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.

And why is that a problem?

Regards,
Clemens