forked from len0rd/rockbox
Fix errors and warnings.
The buffer_offset paramter of audio_init_recording() is removed as it was unused in both implementations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30310 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7695b0403f
commit
8a701e5488
7 changed files with 13 additions and 15 deletions
|
@ -31,7 +31,7 @@
|
|||
|
||||
/* defined in linker script */
|
||||
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
|
||||
#if defined(IPOD_VIDEO)
|
||||
#if defined(IPOD_VIDEO) && !defined(BOOTLOADER)
|
||||
extern unsigned char *audiobufend_lds[];
|
||||
unsigned char *audiobufend;
|
||||
#else /* !IPOD_VIDEO */
|
||||
|
@ -68,8 +68,8 @@ void buffer_init(void)
|
|||
{
|
||||
/* 32-bit aligned */
|
||||
audiobuf = (void *)(((unsigned long)audiobuffer + 3) & ~3);
|
||||
|
||||
#if defined(IPOD_VIDEO)
|
||||
|
||||
#if defined(IPOD_VIDEO) && !defined(BOOTLOADER) && !defined(SIMULATOR)
|
||||
audiobufend=(unsigned char *)audiobufend_lds;
|
||||
if(MEMORYSIZE==64 && probed_ramsize!=64)
|
||||
{
|
||||
|
@ -92,7 +92,6 @@ static volatile int lock;
|
|||
* Note that this does not modify the buffer position (buffer_release_buffer()
|
||||
* does), so call this if you want to aquire temporary memory
|
||||
**/
|
||||
#define _ALIGN (sizeof(char*))
|
||||
void *buffer_get_buffer(size_t *size)
|
||||
{
|
||||
if (lock)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue