afReadFrames man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

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)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net