Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

afreadframes(3) [centos 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)

Check Out this Related Man Page

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)
Man Page

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

count data separate by comma

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)
Discussion started by: bucci
10 Replies

2. Shell Programming and Scripting

Need Help to count the deployments

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)
Discussion started by: amiri2000
6 Replies

3. Shell Programming and Scripting

Case statement w/count

Hello all, I am trying to create a script that can read a file and produce a count per date (such as a case statement of some kind): This is a sample of the data: 05-01 02 05-01 02 05-01 02 05-01 02 05-01 02 05-01 02 05-01 02 05-01 03 05-01 03 05-01 03 05-01 03 05-01 03 05-01... (13 Replies)
Discussion started by: riker
13 Replies