commit | b3b923a7387c6baa12fc24ac1775617604a3e316 | [log] [tgz] |
---|---|---|
author | b.liu <b.liu@mobiletek.cn> | Thu Jun 06 15:15:49 2024 +0800 |
committer | b.liu <b.liu@mobiletek.cn> | Thu Jun 06 15:15:49 2024 +0800 |
tree | 97daf702c80dcd70722fc2425ea5e781ee65529b | |
parent | a066e066370dcad0fc59522c3170bf16663de402 [diff] [blame] |
兼容glibc Change-Id: I7b1361d8f1e3c31c2d94b31b6addc32869dee457
diff --git a/mbtk/libmbtk_audio/src/mbtk_wav.c b/mbtk/libmbtk_audio/src/mbtk_wav.c index cfe08a8..f2e104c 100755 --- a/mbtk/libmbtk_audio/src/mbtk_wav.c +++ b/mbtk/libmbtk_audio/src/mbtk_wav.c
@@ -362,7 +362,7 @@ mbtk_audio_pcm_sample_rate_set(sample_rate); - wav_recorder_fd = open(path, O_WRONLY | O_CREAT | O_TRUNC); + wav_recorder_fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0666); if (wav_recorder_fd < 0) { LOGE("%s: error opening file %s!", __FUNCTION__, path); return -1;