This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#6024 - Fix for voice crash after playback stops - take 2
Attached to Project:
Rockbox
Opened by Steve Bavin (pondlife) - Tuesday, 19 September 2006, 10:59 GMT+2
Last edited by Steve Bavin (pondlife) - Wednesday, 20 September 2006, 12:55 GMT+2
Opened by Steve Bavin (pondlife) - Tuesday, 19 September 2006, 10:59 GMT+2
Last edited by Steve Bavin (pondlife) - Wednesday, 20 September 2006, 12:55 GMT+2
|
DetailsThis is an addendum to
The previous patch was committed too early (breaking recording) and was then partially reverted, so it was not effective against the bug it was aimed at fixing. The problem was caused by swap_codec being called when no audio codec is loaded; thus nothing ever takes over from the voice codec and swap_codec never completes. The attached patch resolves that bug, but may again break recording (although I cannot reproduce that here on the sim, probably because the simulator does not simulate recording enough - another job!). Please can someone with access to a recording target test this patch and report back. I should get my H300 back soon and will test on that. One final note: PLEASE DO NOT COMMIT THIS PATCH YET!!! |
This task depends upon
Closed by Steve Bavin (pondlife)
Tuesday, 26 September 2006, 09:28 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed, nobody has reported any problems and it fixes 3 issues.
Tuesday, 26 September 2006, 09:28 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed, nobody has reported any problems and it fixes 3 issues.
All OK when recording Mic/FM radio without voice;
If voice plays while entering recording screen:
- the peakmeters are max'ed out
- recording comes out as noise
- voice doesn't play anymore
- voice thread is running continuously (*R)
- CPU boost is stuck at 1
but still player doesn't crash.
I can't reproduce anything like that on the H300. Does it happen if you just enable voice menus (rather than file/dir voicing)? I assume you hover on "Recording Screen" and then press select before speech completes?
...
CC pcmbuf.c
pcmbuf.c: In function `pcmbuf_boost':
pcmbuf.c:124: warning: implicit declaration of function `cpu_boost_id'
pcmbuf.c:124: error: `CPUBOOSTID_PCMBUF' undeclared (first use in this function)
pcmbuf.c:124: error: (Each undeclared identifier is reported only once
pcmbuf.c:124: error: for each function it appears in.)
make[1]: *** [rockbox-6024/build/apps/pcmbuf.o] Error 1
make: *** [all] Error 2
I guess you were using
FS#6033as well?