Ejemplo n.º 1
0
void afInitAESChannelDataTo (AFfilesetup setup, int trackid, int willBeData)
{
	_TrackSetup	*track;

	if (!_af_filesetup_ok(setup))
		return;

	if ((track = _af_filesetup_get_tracksetup(setup, trackid)) == NULL)
		return;

	track->aesDataSet = willBeData;
}
Ejemplo n.º 2
0
void afInitAESChannelData (AFfilesetup setup, int trackid)
{
	_TrackSetup	*track;

	if (!_af_filesetup_ok(setup))
		return;

	if ((track = _af_filesetup_get_tracksetup(setup, trackid)) == NULL)
		return;

	track->aesDataSet = AF_TRUE;
}
Ejemplo n.º 3
0
void afInitCompression (AFfilesetup setup, int trackid, int compression)
{
	_TrackSetup	*track;

	if (!_af_filesetup_ok(setup))
		return;

	if ((track = _af_filesetup_get_tracksetup(setup, trackid)) == NULL)
		return;

	if (findCompression(compression) == NULL)
		return;

	track->f.compressionType = compression;
}
Ejemplo n.º 4
0
/*
	Initialize the PCM mapping for a given track.
*/
void afInitPCMMapping (AFfilesetup setup, int trackid,
	double slope, double intercept, double minClip, double maxClip)
{
	_TrackSetup	*track;

	if (!_af_filesetup_ok(setup))
		return;

	if ((track = _af_filesetup_get_tracksetup(setup, trackid)) == NULL)
		return;

	track->f.pcm.slope = slope;
	track->f.pcm.intercept = intercept;
	track->f.pcm.minClip = minClip;
	track->f.pcm.maxClip = maxClip;
}