mirror of
https://git.code.sf.net/p/fldigi/fldigi
synced 2026-08-13 17:47:54 -04:00
Soundcard Generate
* fix sound NULL record flush routine.
. failed to force snd_file reference object to zero.
. caused MALLOC error in snd_file library.
This commit is contained in:
parent
8d95ca4a05
commit
7ae0a15430
1 changed files with 3 additions and 1 deletions
|
|
@ -2523,7 +2523,9 @@ size_t SoundNull::Read(float *buf, size_t count)
|
|||
|
||||
void SoundNull::flush(unsigned)
|
||||
{
|
||||
if (ofGenerate)
|
||||
if (ofGenerate) {
|
||||
sf_close(ofGenerate);
|
||||
ofGenerate = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue