Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

afreadmisc(3) [centos man page]

AFREADMISC(3)															     AFREADMISC(3)

NAME
afReadMisc, afWriteMisc, afSeekMisc - access miscellaneous metadata in an audio file SYNOPSIS
#include <audiofile.h> int afReadMisc (AFfilehandle file, int miscid, void *buffer, int nbytes); int afWriteMisc (AFfilehandle file, int miscid, const void *buffer, int nbytes); int afSeekMisc (AFfilehandle file, int miscid, int offbytes); DESCRIPTION
afReadMisc reads up to nbytes from the miscellaneous data chunk identified by miscid in file. afWriteMisc writes up to nbytes to the miscellaneous data chunk identified by miscid in file. afSeekMisc changes the current offset within the miscellaneous data chunk identified by miscid to the offset offbytes. RETURN VALUE
afReadMisc returns the number of bytes read from the specified miscellaneous chunk into the buffer referred to by buffer. afWriteMisc returns the number of bytes written to the specified miscellaneous chunk from the buffer referred to by buffer. afSeekMisc returns the new location of the logical data pointer as measured as an offset in bytes from the beginning of the miscellaneous chunk's data area. ERRORS
afReadMisc, afWriteMisc, and afSeekMisc can produce the following error codes: o AF_BAD_READ o AF_BAD_WRITE o AF_BAD_MISCSEEK o AF_BAD_MISCID o AF_BAD_TRACKID o AF_BAD_FILEHANDLE AUTHOR
Michael Pruett <michael@68k.org> Audio File Library 0.3.6 03/06/2013 AFREADMISC(3)

Check Out this Related Man Page

AFREADMISC(3)															     AFREADMISC(3)

NAME
afReadMisc, afWriteMisc, afSeekMisc - access miscellaneous metadata in an audio file SYNOPSIS
#include <audiofile.h> int afReadMisc (AFfilehandle file, int miscid, void *buffer, int nbytes); int afWriteMisc (AFfilehandle file, int miscid, const void *buffer, int nbytes); int afSeekMisc (AFfilehandle file, int miscid, int offbytes); DESCRIPTION
afReadMisc reads up to nbytes from the miscellaneous data chunk identified by miscid in file. afWriteMisc writes up to nbytes to the miscellaneous data chunk identified by miscid in file. afSeekMisc changes the current offset within the miscellaneous data chunk identified by miscid to the offset offbytes. RETURN VALUE
afReadMisc returns the number of bytes read from the specified miscellaneous chunk into the buffer referred to by buffer. afWriteMisc returns the number of bytes written to the specified miscellaneous chunk from the buffer referred to by buffer. afSeekMisc returns the new location of the logical data pointer as measured as an offset in bytes from the beginning of the miscellaneous chunk's data area. ERRORS
afReadMisc, afWriteMisc, and afSeekMisc can produce the following error codes: o AF_BAD_READ o AF_BAD_WRITE o AF_BAD_MISCSEEK o AF_BAD_MISCID o AF_BAD_TRACKID o AF_BAD_FILEHANDLE AUTHOR
Michael Pruett <michael@68k.org> Audio File Library 0.3.6 03/06/2013 AFREADMISC(3)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

offset - informix chunk

Hello all, I am trying to add chunks to my informix dataspace. I have one dataspace ( the rootdbs ) and the new chunk is a raw device. Precisely slice1 on my new external harddisk. The question is, what should be the offset value. The document says, the offset is used by the engine to... (1 Reply)
Discussion started by: shibz
1 Replies

2. Shell Programming and Scripting

Help with cleansing data

I have a file with 27 fields seperated by pipe. I have a field 17 that is defined as numeric and the data coming in might contain character and other miscellaneous data like (@,!,~,#,%,^,&,*,(,)). I have to make sure that the column strictly contains numeric data and if it contains any of the... (2 Replies)
Discussion started by: dsravan
2 Replies

3. Programming

Copying 1024 bytes data in 3-bytes chunk

Hi, If I want to copy a 1024 byte data stream in to the target location in 3-bytes chunk, I guess I can use the following script. dd bs=1024 count=3 if=/src of=/dest But, I would like to know, how to do it via a C program. I have tried this with memcpy(), that did not help. (3 Replies)
Discussion started by: royalibrahim
3 Replies

4. Shell Programming and Scripting

Delete chunk of text if contains certain strings

Using awk how to delete chunk of text if it contains certain strings? As in the following, delete a reference chunk, i.e. everything from <reference attribute = "value"> to </reference> inclusive, if within it "Group ID" value is 7 or 96 or 103 or 1005. <reference attribute = "value"> ... (3 Replies)
Discussion started by: pioavi
3 Replies

5. UNIX for Beginners Questions & Answers

Splitting a file based on a pattern

Hi All, I am having a problem. I tried to extract the chunk of data and tried to fix I am not able to. Any help please Basically I need to remove the for , values after K, this is how it is now A,, B, C,C, D,D, 12/04/10,12/04/10, K,1,1,1,1,0,3.0, K,1,1,1,2,0,4.0,... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies