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
fix maemo build
[pcsx_rearmed.git]
/
plugins
/
dfsound
/
pulseaudio.c
diff --git
a/plugins/dfsound/pulseaudio.c
b/plugins/dfsound/pulseaudio.c
index
e5ffb59
..
1dadd88
100644
(file)
--- a/
plugins/dfsound/pulseaudio.c
+++ b/
plugins/dfsound/pulseaudio.c
@@
-303,7
+303,7
@@
unsigned long SoundGetBytesBuffered (void)
int playing = 0;
if ((device.mainloop == NULL) || (device.api == NULL) || ( device.context == NULL) || (device.stream == NULL))
int playing = 0;
if ((device.mainloop == NULL) || (device.api == NULL) || ( device.context == NULL) || (device.stream == NULL))
- return
SOUNDSIZE
;
+ return
1
;
pa_threaded_mainloop_lock (device.mainloop);
free_space = pa_stream_writable_size (device.stream);
pa_threaded_mainloop_lock (device.mainloop);
free_space = pa_stream_writable_size (device.stream);
@@
-315,7
+315,7
@@
unsigned long SoundGetBytesBuffered (void)
{
// Don't buffer anymore, just play
//fprintf (stderr, "Not buffering.\n");
{
// Don't buffer anymore, just play
//fprintf (stderr, "Not buffering.\n");
- return
SOUNDSIZE
;
+ return
1
;
}
else
{
}
else
{