notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
try to fix r-pi build
[pcsx_rearmed.git]
/
plugins
/
dfsound
/
nullsnd.c
diff --git
a/plugins/dfsound/nullsnd.c
b/plugins/dfsound/nullsnd.c
index
bf07909
..
d8714df
100644
(file)
--- a/
plugins/dfsound/nullsnd.c
+++ b/
plugins/dfsound/nullsnd.c
@@
-1,24
+1,32
@@
-#include "stdafx.h"
-#define _IN_OSS
-#include "externals.h"
+#include "out.h"
// SETUP SOUND
// SETUP SOUND
-
void SetupSound
(void)
+
static int none_init
(void)
{
{
+ return 0;
}
// REMOVE SOUND
}
// REMOVE SOUND
-
void RemoveSound
(void)
+
static void none_finish
(void)
{
}
// GET BYTES BUFFERED
{
}
// GET BYTES BUFFERED
-
unsigned long SoundGetBytesBuffered
(void)
+
static int none_busy
(void)
{
{
- return
0
;
+ return
1
;
}
// FEED SOUND DATA
}
// FEED SOUND DATA
-void SoundFeedStreamData(unsigned char* pSound,long lBytes)
+static void none_feed(void *buf, int bytes)
+{
+}
+
+void out_register_none(struct out_driver *drv)
{
{
+ drv->name = "none";
+ drv->init = none_init;
+ drv->finish = none_finish;
+ drv->busy = none_busy;
+ drv->feed = none_feed;
}
}