Sat Sep 11 14:17:44 PDT 1999
(Raster) fix minor sample loading and caching bug.. :) SVN revision: 241
This commit is contained in:
parent
f12c13ba63
commit
f02b72d528
|
@ -1642,3 +1642,10 @@ the middle-desktop button menu works and displays something nice.
|
|||
|
||||
i hope all theme desginers use this to plug themselves and any comments or
|
||||
credits they want to give for their theme.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Sat Sep 11 14:17:44 PDT 1999
|
||||
(Raster)
|
||||
|
||||
fix minor sample loading and caching bug.. :)
|
||||
|
|
|
@ -111,9 +111,9 @@ SoundPlay(Sample * s)
|
|||
s->id = esd_sample_cache(sound_fd, s->format, s->rate, size, s->file);
|
||||
write(sound_fd, s->data, size);
|
||||
confirm = esd_confirm_sample_cache(sound_fd);
|
||||
if (confirm != s->id)
|
||||
s->id = 0;
|
||||
}
|
||||
if ((s->id < 0) || (confirm != s->id))
|
||||
s->id = 0;
|
||||
Efree(s->data);
|
||||
s->data = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue