Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#1743 closed defect (fixed)

Audio routing change or Unplugging the earpeace while audio is running would cause audio to stop in BB10 10.2.1

Reported by: bennylp Owned by: nanang
Priority: normal Milestone: release-2.2.1
Component: pjmedia-audiodev Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description (last modified by bennylp)

When the user unplugged the earpeace during a SIP call the audio will get into error state:

"Level:  -02-27 10:13:07.051     bb10_dev.c !PLAY thread ERROR status = 10001" 
"Level:  -02-27 10:13:07.052     bb10_dev.c  PLAY thread ERROR status = 10001" 
"Level:  -02-27 10:13:07.054     bb10_dev.c !snd_pcm_plugin_read ERROR read = -5 required = 640" 
"Level:  -02-27 10:13:07.054     bb10_dev.c  snd_pcm_plugin_read ERROR read = -5 required = 640
"Level:  -02-27 10:13:07.055     bb10_dev.c  snd_pcm_plugin_read ERROR read = -5 required = 640" 
"Level:  -02-27 10:13:07.056     bb10_dev.c  snd_pcm_plugin_read ERROR read = -5 required = 640" 
"Level:  -02-27 10:13:07.057     bb10_dev.c  snd_pcm_plugin_read ERROR read = -5 required = 640" 

Process 27738341 received low memory signal, priority = 1 
Process 27738341 received low memory signal, priority = 1 
Process 27738341 received low memory signal, priority = 2 
Process 27738341 received low memory signal, priority = 2

This issue is related to #1732.

Change History (4)

comment:1 Changed 10 years ago by bennylp

  • Description modified (diff)

comment:2 Changed 10 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

In 4778:

Fixed #1743: Unplugging the earpeace while audio is running would cause audio to stop in BB10 10.2.1. This also fix the issue in #1732

comment:3 Changed 10 years ago by bennylp

  • Summary changed from Unplugging the earpeace while audio is running would cause audio to stop in BB10 10.2.1 to Audio routing change or Unplugging the earpeace while audio is running would cause audio to stop in BB10 10.2.1

comment:4 Changed 10 years ago by bennylp

In 4782:

More re #1743: also added code snippet to make routing selection stick even when earpleace is plugged in/out. But this doesn't seem to work (tested on Q10 OS 10.2.1)

Note: See TracTickets for help on using tickets.