diff options
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/wavrecord.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/wavrecord.c b/apps/plugins/wavrecord.c index 5cdf4fd..f7467b5 100644 --- a/apps/plugins/wavrecord.c +++ b/apps/plugins/wavrecord.c @@ -3669,7 +3669,7 @@ static int record_file(char *filename) if (sampr[i][0] == mas) break; } - if (!(update_wav_header(filename, sampr[i][1], + if (i == 9 || !(update_wav_header(filename, sampr[i][1], (reccfg.channels + 1), bytes_written))) { rb->splash(HZ, "Updating WAV header failed"); |