Talk: Unify hwcodec and swcodec handling.
commit29abe81889bbdb0982c994113112941a3dcf6ce2
authorThomas Martitz <kugel@rockbox.org>
Sun, 21 Aug 2011 15:05:57 +0000 (21 15:05 +0000)
committerThomas Martitz <kugel@rockbox.org>
Sun, 21 Aug 2011 15:05:57 +0000 (21 15:05 +0000)
tree1fd6d3fa5249b3276c4b8acd7adaf4e026d163da
parent82fa47dd0653f21e41bfdea7c50d78bea375033f
Talk: Unify hwcodec and swcodec handling.

Do it the hwcodec way which doesn't need a buffer_alloc(). The buffer for the
.talk files is now allocated together with the voicefile buffer.

Should also fix a panic when the .talk file buffer was allocated late at runtime.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30335 a1c6a512-1295-4272-9138-f99709370657
apps/talk.c