cleanups
This commit is contained in:
@@ -41,7 +41,7 @@ const int framesize = 2 * channels; /* 16-bit */
|
||||
* as the largest hardware buffer. */
|
||||
const int internal_buffer_size = 1024*16;
|
||||
|
||||
/* The amount of data to read from SDL_sound at once. */
|
||||
/* The amount of data to read at once. */
|
||||
const unsigned read_block_size = 1024;
|
||||
|
||||
RageSoundParams::RageSoundParams():
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#include "RageSoundReader_MP3.h"
|
||||
#include "RageLog.h"
|
||||
#include "RageUtil.h"
|
||||
#include "SDL_utils.h"
|
||||
|
||||
#include <cstdio>
|
||||
#include <cerrno>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#include "global.h"
|
||||
|
||||
#include "RageUtil.h"
|
||||
#include "SDL_utils.h"
|
||||
#include "RageSoundReader_Vorbisfile.h"
|
||||
#include "RageLog.h"
|
||||
|
||||
|
||||
@@ -546,7 +546,7 @@ int RageSoundReader_WAV::Read(char *buf, unsigned len)
|
||||
if( Conversion == CONV_16LSB_TO_16SYS )
|
||||
{
|
||||
/* Do this in place. */
|
||||
#if SDL_BYTEORDER == SDL_BIG_ENDIAN
|
||||
#if defined(ENDIAN_BIG)
|
||||
const int cnt = len / sizeof(int16_t);
|
||||
int16_t *tbuf = (int16_t *) buf;
|
||||
for( int i = 0; i < cnt; ++i )
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "PrefsManager.h"
|
||||
#include "RageDisplay.h"
|
||||
#include "AnnouncerManager.h"
|
||||
#include "SDL_utils.h"
|
||||
|
||||
RageSounds *SOUND = NULL;
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
#ifndef RAGE_THREADS_H
|
||||
#define RAGE_THREADS_H
|
||||
|
||||
struct SDL_Thread;
|
||||
|
||||
struct ThreadSlot;
|
||||
class RageThread
|
||||
{
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#include "PrefsManager.h"
|
||||
#include "RageDisplay.h"
|
||||
#include "RageTexture.h"
|
||||
#include "SDL_utils.h"
|
||||
#include "ActorUtil.h"
|
||||
#include "arch/Dialog/Dialog.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user