AFWRITEFRAMES(3)AFWRITEFRAMES(3)NAME
afWriteFrames - write sample frames to a track in an audio file
SYNOPSIS
#include <audiofile.h>
AFframecount afWriteFrames(AFfilehandle file, int track, const void *data,
AFframecount count);
DESCRIPTION
afWriteFrames attempts to write up to count frames of audio data from the buffer data to the audio file handle file.
PARAMETERS
file is a valid file handle returned by afOpenFile(3).
track is always AF_DEFAULT_TRACK for all currently supported file formats.
data is a buffer of sample frames to be written to the file.
count is the number of sample frames to be written.
RETURN VALUE
afWriteFrames returns the number of sample frames successfully written to file.
ERRORS
afWriteFrames can produce these errors:
AF_BAD_FILEHANDLE
the file handle was invalid
AF_BAD_TRACKID
the track is not AF_DEFAULT_TRACK
AF_BAD_WRITE
writing audio data to the file failed
AF_BAD_LSEEK
seeking within the file failed
SEE ALSO afReadFrames(3)AUTHOR
Michael Pruett <michael@68k.org>
Audio File Library 0.3.6 03/06/2013 AFWRITEFRAMES(3)
Check Out this Related Man Page
AFREADFRAMES(3)AFREADFRAMES(3)NAME
afReadFrames - read sample frames from a track in an audio file
SYNOPSIS
#include <audiofile.h>
AFframecount afReadFrames(AFfilehandle file, int track, void *data,
int count);
DESCRIPTION
afReadFrames attempts to read up to count frames of audio data from the audio file handle file into the buffer at data.
PARAMETERS
file is a valid file handle returned by afOpenFile(3).
track is always AF_DEFAULT_TRACK for all currently supported file formats.
data is a buffer of storing count frames of audio sample data.
count is the number of sample frames to be read.
RETURN VALUE
afReadFrames returns the number of frames successfully read from file.
ERRORS
afReadFrames can produce these errors:
AF_BAD_FILEHANDLE
the file handle was invalid
AF_BAD_TRACKID
the track parameter is not AF_DEFAULT_TRACK
AF_BAD_READ
reading audio data from the file failed
AF_BAD_LSEEK
seeking within the file failed
SEE ALSO afWriteFrames(3)AUTHOR
Michael Pruett <michael@68k.org>
Audio File Library 0.3.6 03/06/2013 AFREADFRAMES(3)
Dear Friends,
I am sending you a sample data of a file. Here I want to extract all the data after date 3/1/2007 and before the date 4/1/2007.So this is the sample data plz write some code and send me.
22:06:35 (SCHROD) IN: "JAGUAR_MAIN" rakesh@squid (2 licenses)
10:15:08 (lmgrd)... (3 Replies)
hi experts,
i have some problem with count data which separate by comma, below sample data :
01,011222823b6d,011222823f29,0028a5,002993,6212345678,
659111111111,6598204507,6281105008,6596197849,_,525016160836958,_,
ffffffff,000000000000000000000000,_,_,_,fd,fd,ff,00,1,0028a5-002993,_,... (10 Replies)
Hi,
Need help for a script that count no of deployments from the below Sample Input file.
Below is my sample input file. Not sure whether it works or not.
Note: (We can use a seperator if needed)
My output should come like for each Store:
Output should look like:
Store_MS1: 4 Deployments... (6 Replies)
I have a flat file in UNIX and I have to perform two tasks based on the below data. The data I have printed here is just sample the original data is too long.
The position 110 to 111 (two digit value I have bolded the values) theygives the record type detail in the sample above the record types... (7 Replies)