AFGETFRAMECOUNT(3)AFGETFRAMECOUNT(3)NAME
afGetFrameCount, afGetTrackBytes, afGetDataOffset - get the total sample frame count, length of audio track in bytes, offset of the audio
track for a track in an audio file
SYNOPSIS
#include <audiofile.h>
AFframecount afGetFrameCount (AFfilehandle file, int track);
AFfileoffset afGetTrackBytes (AFfilehandle file, int track);
AFfileoffset afGetDataOffset (AFfilehandle file, int track);
PARAMETERS
file is an audio file handle created by a previous call to afOpenFile(3).
track is an integer which specifies an audio track within file. All supported file formats contain exactly one audio track per file, so the
constant AF_DEFAULT_TRACK should always be used.
DESCRIPTION
afGetFrameCount returns the total number of sample frames contained within the specified track of the specified file.
Each sample frame of audio consists of a fixed number of samples (equal to the number of audio channels in the track. For monaural data, a
sample frame consists of one audio sample. For stereophonic data, a sample frame consists of a stereo pair.
afGetTrackBytes returns the total number of bytes of raw audio data (i.e., prior to decompression or conversion) in the track.
afGetDataOffset returns the offset in bytes of the start of the audio data contained within the specified track of the specified file.
RETURN VALUE
afGetFrameCount returns the total number of sample frames in track.
afGetTrackBytes returns the total number of bytes of audio data in track.
afGetDataOffset returns the offset in bytes to the beginning of the audio data in track.
Each of these routines returns -1 in case of error.
AUTHOR
Michael Pruett <michael@68k.org>
Audio File Library 0.3.6 03/06/2013 AFGETFRAMECOUNT(3)
Check Out this Related Man Page
AFGETFRAMECOUNT(3)AFGETFRAMECOUNT(3)NAME
afGetFrameCount, afGetTrackBytes, afGetDataOffset - get the total sample frame count, length of audio track in bytes, offset of the audio
track for a track in an audio file
SYNOPSIS
#include <audiofile.h>
AFframecount afGetFrameCount (AFfilehandle file, int track);
AFfileoffset afGetTrackBytes (AFfilehandle file, int track);
AFfileoffset afGetDataOffset (AFfilehandle file, int track);
PARAMETERS
file is an audio file handle created by a previous call to afOpenFile(3).
track is an integer which specifies an audio track within file. All supported file formats contain exactly one audio track per file, so the
constant AF_DEFAULT_TRACK should always be used.
DESCRIPTION
afGetFrameCount returns the total number of sample frames contained within the specified track of the specified file.
Each sample frame of audio consists of a fixed number of samples (equal to the number of audio channels in the track. For monaural data, a
sample frame consists of one audio sample. For stereophonic data, a sample frame consists of a stereo pair.
afGetTrackBytes returns the total number of bytes of raw audio data (i.e., prior to decompression or conversion) in the track.
afGetDataOffset returns the offset in bytes of the start of the audio data contained within the specified track of the specified file.
RETURN VALUE
afGetFrameCount returns the total number of sample frames in track.
afGetTrackBytes returns the total number of bytes of audio data in track.
afGetDataOffset returns the offset in bytes to the beginning of the audio data in track.
Each of these routines returns -1 in case of error.
AUTHOR
Michael Pruett <michael@68k.org>
Audio File Library 0.3.6 03/06/2013 AFGETFRAMECOUNT(3)
We just went from HP-UX 10.20 to 11.00.
All the bugs are out, except for a small detail...the old 9-track isn't working.
We receive large amounts of data on reel-to-reel so I kinda need it fixed. In the meantime, I'm trying to see if they can send me a DAT tape instead.
I'm pretty sure the drive... (8 Replies)
Discussion started by: ncmurf00
8 Replies
3. Post Here to Contact Site Administrators and Moderators
All,
Is there any command or method by which we can track changes in a file in Unix (Something similar to track changes in a word document).
I know there is CVS which is used to store code changes and track changes in the code. But other than CVS any way to find out changes done in a file... (1 Reply)
I am wondering if there is a way to get opensolaris to accept my realteck hd audio chip set.
dmesg
Thu Oct 23 22:47:38 EDT 2008
Oct 23 22:34:49 opensolaris Use is subject to license terms.
Oct 23 22:34:49 opensolaris unix: features:... (1 Reply)
Hello Friends,
I am new to scripting, please guide me in below problem:
I want to track a file, if anyone make any changes to that file then script should copy it to another server.
my whole purpose is to backup a critical file automatically when any change is done to that specific... (1 Reply)
Hi All,
I am a pretty new to programming or scripting. Please help me in my below query.
I want to write a script which can track a file for any kind of modification and if there is any modification then it should move that file or i should say backup that file to another server.
Please... (6 Replies)
Hi Guys and Gals,
Does anyone know how to track down a faulty DIMM on the memory board of an M4000?
showhardconf tells me which board it is, but was wondering if there was a way to track it down to a DIMM?
Thanks in advance
Martin (5 Replies)
Hello Everyone,
i got a question in AIX. How can i track the communication between LPARs.
i mean how can we find if a program/account trying to access a directory/file inside AIX LPAR or from another LPAR ?
if some one is trying to access our LPAR. where can i track those info? or a outside... (5 Replies)
Hi all !
I am unable to track 6 GB memory through df -h command
please anyone tell me why its showing 57M though used memory is 101G
OS - Ubuntu 12.04 LTS 32-Bit
Filesystem Size Used Avail Use% Mounted on
/dev/sda9 107G 101G 57M 100% /
udev 1.9G 4.0K 1.9G ... (2 Replies)
So I have a php web application that allows updating of records. I would like to track the changes of only the fields that have changed. There are plenty of how to's that involve recreating the original row in a separate table with an additional time/date stamp column but I think this is a big... (1 Reply)
Hi Everyone,
Apologise if this is not the right section where to post the following:
I have worked for some weeks on a system which records audio calls coming from various channels of a TDM network. The voice logger once the disk was full of audio data, backed it up on magnetic tapes... (2 Replies)
Hi all...
Well I have not been inactive but working out how to make OSX 10.14.x command line audio player have a variable sample rate.
This is a back door as afplay does not have a sample rate flag unlike aplay for ALSA, in Linux flavours.
This is a DEMO only but a derivative of it will... (2 Replies)