Modify the test program to read audio frames from a memory buffer rather
commitfee857b2e6302b73132db9efcf3f31bd01c4ba2f
authormt <mt@a1c6a512-1295-4272-9138-f99709370657>
Fri, 22 May 2009 20:23:38 +0000 (22 20:23 +0000)
committermt <mt@a1c6a512-1295-4272-9138-f99709370657>
Fri, 22 May 2009 20:23:38 +0000 (22 20:23 +0000)
tree762cec22804a554c97983ccbe4a818eca899d528
parentd36fd415b4351f571b701e416aa97f0d16bd1246
Modify the test program to read audio frames from a memory buffer rather
than a file descriptor, to make the decoding process as much similar
as to how it should be in rockbox.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21042 a1c6a512-1295-4272-9138-f99709370657
apps/codecs/libcook/main.c
apps/codecs/libcook/rm.c
apps/codecs/libcook/rm.h