GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  AFWRITEMISC (3)

.ds Aq ’

NAME

afReadMisc, afWriteMisc, afSeekMisc - access miscellaneous metadata in an audio file

CONTENTS

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\(cqs data area.

ERRORS

afReadMisc, afWriteMisc, and afSeekMisc can produce the following error codes:

o

o

AF_BAD_READ

o

o

AF_BAD_WRITE

o

o

AF_BAD_MISCSEEK

o

o

AF_BAD_MISCID

o

o

AF_BAD_TRACKID

o

o

AF_BAD_FILEHANDLE

AUTHOR

Michael Pruett <michael@68k.org>

Search for    or go to Top of page |  Section 3 |  Main Index


Audio File Library 0&.3&.6 AFREADMISC (3) 03/06/2013

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.