Whose bright idea was it to use SDL routines in the ALSA code?

This commit is contained in:
Ben Anderson
2005-03-13 21:51:51 +00:00
parent de3c510f73
commit 34a45fb089
2 changed files with 1 additions and 4 deletions
+1 -2
View File
@@ -2,7 +2,6 @@
#include "RageLog.h"
#include "RageUtil.h"
#include "ALSA9Helpers.h"
#include "SDL_utils.h"
#include "ALSA9Dynamic.h"
#include "PrefsManager.h"
@@ -380,7 +379,7 @@ bool Alsa9Buf::Recover( int r )
LOG->Trace("RageSound_ALSA9::Recover (resume)");
int err;
while ((err = dsnd_pcm_resume(pcm)) == -EAGAIN)
SDL_Delay(10);
usleep(10000); // 10ms
ALSA_ASSERT("dsnd_pcm_resume (Recover)");
return true;
-2
View File
@@ -5,8 +5,6 @@
#define ALSA_PCM_NEW_SW_PARAMS_API
#include <alsa/asoundlib.h>
#include "SDL_types.h"
class Alsa9Buf
{
private: