Can gsmhandset.state be used for getting samples from the mic?
c_c
cchandel at yahoo.com
Wed Feb 11 06:41:43 CET 2009
Hi,
In guitartuner, I'm using voice-recoding.state to grab samples from the
mic. But I'm facing a problem with that. If I get a call while the program
is running, I get a kernel oops like so :-
Feb 11 07:45:46 om-gta02 user.info oeventsd INFO Receive CallStatus,
status = incoming
Feb 11 07:45:46 om-gta02 user.info oeventsd INFO Receive CallStatus,
status = incoming
Feb 11 07:45:47 om-gta02 user.info odeviced.idlenotifier INFO
odeviced.idlenotifier state change to busy
Feb 11 07:45:47 om-gta02 user.info oeventsd.action INFO DebugAction :
dbus trigger test
Feb 11 07:45:47 om-gta02 user.info oeventsd INFO Receive IdleState,
status = busy
Feb 11 07:45:47 om-gta02 user.info oeventsd.action INFO call dbus signal
/org/freesmartphone/Device/Display/0 SetBrightness((90,))
Feb 11 07:45:47 om-gta02 user.info oeventsd INFO Receive IdleState,
status = busy
Feb 11 07:45:47 om-gta02 user.info oeventsd INFO Receive IdleState,
status = busy
Feb 11 07:45:47 om-gta02 user.info oeventsd INFO Receive IdleState,
status = busy
Feb 11 07:45:48 om-gta02 user.err kernel: [21474829.680000] asoc: WM8753
HiFi <-> s3c24xx-i2s No matching rates
Feb 11 07:45:48 om-gta02 user.emerg kernel: [21474829.680000]
snd_pcm_hw_constraints_complete failed
Feb 11 07:45:48 om-gta02 user.alert kernel: [21474829.680000] Unable to
handle kernel NULL pointer dereference at virtual address 00000000
Feb 11 07:45:48 om-gta02 user.alert kernel: [21474829.680000] pgd = c70e0000
Feb 11 07:45:48 om-gta02 user.alert kernel: [21474829.680000] [00000000]
*pgd=37bbb031, *pte=00000000, *ppte=00000000
Feb 11 07:45:48 om-gta02 user.emerg kernel: [21474829.680000] Internal
error: Oops: 0 [#1] PREEMPT
Feb 11 07:45:48 om-gta02 user.emerg kernel: [21474829.680000] Modules linked
in: bnep sco snd_soc_neo1973_gta02_wm8753 snd_soc_s3c24xx_i2s
snd_soc_s3c24xx snd_soc_wm8753 snd_soc_core snd_pcm snd_timer snd_page_alloc
snd rfcomm ipv6 hidp l2cap g_ether btusb ar6000 bluetoot
Feb 11 07:45:48 om-gta02 user.emerg kernel: [21474829.680000] CPU: 0 Not
tainted (2.6.29-GTA02_mystable-mokodev #5)
I've added a listener for the incoming call signal (to quit the program
and change the alsa state), but it seems like the framework changes the alsa
state before I do.
I dont think I can use gsmhandset.state to grab samples - but I could be
wrong. So - is it possible?
If it isn't - how do I solve the above problem?
--
View this message in context: http://n2.nabble.com/Can-gsmhandset.state-be-used-for-getting-samples-from-the-mic--tp2307002p2307002.html
Sent from the Openmoko Devel mailing list archive at Nabble.com.
More information about the devel
mailing list