Re: [Fwd: [linux-audio-dev] info point on linux hdr]

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [Fwd: [linux-audio-dev] info point on linux hdr]
From: Juhana Sadeharju (kouhia_AT_nic.funet.fi)
Date: Mon Apr 17 2000 - 19:23:55 EEST


>From: "Stephen C. Tweedie" <sct_AT_redhat.com>
>
>Try opening the file with open(O_SYNC), and write the data in 128k chunks
>or so. Alternatively call fsync() every so often to force the data to
>disk (though fsync is not particularly efficient on large files with
>2.2).

With fsync() I could not record two channel audio to disk with my P90.
It did broke after an hour. I have 2.0.36 which might have even less
efficient fsync(). Thanks for the O_SYNC tip.

Juhana


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Mon Apr 17 2000 - 19:55:59 EEST