mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Correct some windows line endings back to unix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16877 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b71cbd599b
commit
4fd277481a
2 changed files with 9 additions and 9 deletions
|
@ -874,8 +874,8 @@ management functions for all the actual handle management work.
|
|||
queued to be opened, otherwise the handle for the file in the buffer
|
||||
*/
|
||||
int bufopen(const char *file, size_t offset, enum data_type type)
|
||||
{
|
||||
size_t adjusted_offset = offset;
|
||||
{
|
||||
size_t adjusted_offset = offset;
|
||||
|
||||
int fd = open(file, O_RDONLY);
|
||||
if (fd < 0)
|
||||
|
@ -1098,7 +1098,7 @@ static struct memory_handle *prep_bufdata(int handle_id, size_t *size,
|
|||
*/
|
||||
ssize_t bufread(int handle_id, size_t size, void *dest)
|
||||
{
|
||||
const struct memory_handle *h;
|
||||
const struct memory_handle *h;
|
||||
size_t adjusted_size = size;
|
||||
|
||||
h = prep_bufdata(handle_id, &adjusted_size, false);
|
||||
|
@ -1132,7 +1132,7 @@ ssize_t bufread(int handle_id, size_t size, void *dest)
|
|||
ssize_t bufgetdata(int handle_id, size_t size, void **data)
|
||||
{
|
||||
const struct memory_handle *h;
|
||||
size_t adjusted_size = size;
|
||||
size_t adjusted_size = size;
|
||||
|
||||
h = prep_bufdata(handle_id, &adjusted_size, true);
|
||||
if (!h)
|
||||
|
@ -1186,7 +1186,7 @@ ssize_t bufgettail(int handle_id, size_t size, void **data)
|
|||
|
||||
ssize_t bufcuttail(int handle_id, size_t size)
|
||||
{
|
||||
struct memory_handle *h;
|
||||
struct memory_handle *h;
|
||||
size_t adjusted_size = size;
|
||||
|
||||
h = find_handle(handle_id);
|
||||
|
@ -1315,7 +1315,7 @@ static void call_buffering_callbacks(enum callback_event ev, int value)
|
|||
}
|
||||
}
|
||||
|
||||
static void shrink_buffer_inner(struct memory_handle *h)
|
||||
static void shrink_buffer_inner(struct memory_handle *h)
|
||||
{
|
||||
if (h == NULL)
|
||||
return;
|
||||
|
@ -1325,7 +1325,7 @@ static void shrink_buffer_inner(struct memory_handle *h)
|
|||
shrink_handle(h);
|
||||
}
|
||||
|
||||
static void shrink_buffer(void)
|
||||
static void shrink_buffer(void)
|
||||
{
|
||||
logf("shrink_buffer()");
|
||||
shrink_buffer_inner(first_handle);
|
||||
|
@ -1450,7 +1450,7 @@ void buffering_thread(void)
|
|||
}
|
||||
}
|
||||
|
||||
void buffering_init(void)
|
||||
void buffering_init(void)
|
||||
{
|
||||
mutex_init(&llist_mutex);
|
||||
#ifdef HAVE_PRIORITY_SCHEDULING
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include "voice_thread.h"
|
||||
#include "talk.h"
|
||||
#include "dsp.h"
|
||||
#include "audio.h"
|
||||
#include "audio.h"
|
||||
#include "playback.h"
|
||||
#include "pcmbuf.h"
|
||||
#include "codecs/libspeex/speex/speex.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue