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
spu: some cleanups
[pcsx_rearmed.git]
/
plugins
/
dfsound
/
sdl.c
diff --git
a/plugins/dfsound/sdl.c
b/plugins/dfsound/sdl.c
index
f677744
..
f7dc298
100644
(file)
--- a/
plugins/dfsound/sdl.c
+++ b/
plugins/dfsound/sdl.c
@@
-106,12
+106,12
@@
void RemoveSound(void) {
unsigned long SoundGetBytesBuffered(void) {
int size;
unsigned long SoundGetBytesBuffered(void) {
int size;
- if (pSndBuffer == NULL) return
SOUNDSIZE
;
+ if (pSndBuffer == NULL) return
1
;
size = iReadPos - iWritePos;
if (size <= 0) size += iBufSize;
size = iReadPos - iWritePos;
if (size <= 0) size += iBufSize;
- if (size < iBufSize / 2) return
SOUNDSIZE
;
+ if (size < iBufSize / 2) return
1
;
return 0;
}
return 0;
}