summaryrefslogtreecommitdiffstats
path: root/flow
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-12-31 23:53:28 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-12-31 23:53:28 +0000
commitbf3bdf1468c5264a57b6aac343f8c7d1a50de848 (patch)
tree661c955b7e81b2f207d0f5ee01f1e389738ff4fe /flow
parent3aaef8e61de684af6ced2951ab2391cd104e0d4c (diff)
downloadarts-bf3bdf1468c5264a57b6aac343f8c7d1a50de848.tar.gz
arts-bf3bdf1468c5264a57b6aac343f8c7d1a50de848.zip
Automated conversion
aRts now compiles with TQt for Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/arts@1210526 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'flow')
-rw-r--r--flow/asyncschedule.h2
-rw-r--r--flow/audioio.h2
-rw-r--r--flow/audioioaix.cc18
-rw-r--r--flow/audioiocsl.cc2
-rw-r--r--flow/audiomanager_impl.cc2
-rw-r--r--flow/audiosubsys.h2
-rw-r--r--flow/bufferqueue.h2
-rw-r--r--flow/bus.h2
-rw-r--r--flow/cache.h2
-rw-r--r--flow/cachedwav.h2
-rw-r--r--flow/convert.h4
-rw-r--r--flow/cpuinfo.h2
-rw-r--r--flow/fft.h2
-rw-r--r--flow/gsl/gbsearcharray.h10
-rw-r--r--flow/gsl/gsl.312
-rw-r--r--flow/gsl/gslcommon.c16
-rw-r--r--flow/gsl/gsldatacache.c2
-rw-r--r--flow/gsl/gsldatahandle-mad.c8
-rw-r--r--flow/gsl/gslengine.c12
-rw-r--r--flow/gsl/gslengine.h8
-rw-r--r--flow/gsl/gslfft.h4
-rw-r--r--flow/gsl/gslglib.h4
-rw-r--r--flow/gsl/gslieee754.h4
-rw-r--r--flow/gsl/gslloader-wav.c10
-rw-r--r--flow/gsl/gslmagic.c22
-rw-r--r--flow/gsl/gslmath.c2
-rw-r--r--flow/gsl/gslopschedule.c2
-rw-r--r--flow/gsl/gsloscillator-aux.c2
-rw-r--r--flow/gsl/gsloscillator.c4
-rw-r--r--flow/gsl/gslosctable.c4
-rw-r--r--flow/gsl/gslosctable.h4
-rw-r--r--flow/gsl/gslwaveosc.c8
-rw-r--r--flow/gslpp/datahandle.h2
-rw-r--r--flow/gslschedule.cc2
-rw-r--r--flow/gslschedule.h2
-rw-r--r--flow/pipebuffer.cc2
-rw-r--r--flow/pipebuffer.h2
-rw-r--r--flow/resample.h2
-rw-r--r--flow/stdsynthmodule.h2
-rw-r--r--flow/synth_play_wav_impl.cc2
-rw-r--r--flow/virtualports.cc4
-rw-r--r--flow/virtualports.h2
42 files changed, 102 insertions, 102 deletions
diff --git a/flow/asyncschedule.h b/flow/asyncschedule.h
index d4264d0..fe800be 100644
--- a/flow/asyncschedule.h
+++ b/flow/asyncschedule.h
@@ -30,7 +30,7 @@
#include <queue>
/*
- * BC - Status (2002-03-08): ASyncNetSend, ASyncNetReceive, ASyncPort.
+ * BC - tqStatus (2002-03-08): ASyncNetSend, ASyncNetReceive, ASyncPort.
*
* None of these classes is considered part of the public API. Do NOT use it
* in your apps. These are part of the implementation of libartsflow's
diff --git a/flow/audioio.h b/flow/audioio.h
index 7cab165..e3182af 100644
--- a/flow/audioio.h
+++ b/flow/audioio.h
@@ -27,7 +27,7 @@
#include <string>
#include "arts_export.h"
/*
- * BC - Status (2002-03-08): AudioIO, AudioIOFactory
+ * BC - tqStatus (2002-03-08): AudioIO, AudioIOFactory
*
* Right now, these classes are considered an implementation detail. No binary
* compatibility guaranteed, its safe to add virtual methods when required.
diff --git a/flow/audioioaix.cc b/flow/audioioaix.cc
index b5c288b..2e77685 100644
--- a/flow/audioioaix.cc
+++ b/flow/audioioaix.cc
@@ -116,9 +116,9 @@ AudioIOAIX::AudioIOAIX()
int fd = openDevice();
if( fd >= 0 )
{
- audio_status audioStatus;
- memset( &audioStatus, 0, sizeof(audio_status) );
- ioctl(fd, AUDIO_STATUS, &audioStatus);
+ audio_status audiotqStatus;
+ memset( &audiotqStatus, 0, sizeof(audio_status) );
+ ioctl(fd, AUDIO_STATUS, &audiotqStatus);
audio_buffer audioBuffer;
memset( &audioBuffer, 0, sizeof(audio_buffer) );
@@ -129,14 +129,14 @@ AudioIOAIX::AudioIOAIX()
/*
* default parameters
*/
- param(samplingRate) = audioStatus.srate;
- param(fragmentSize) = audioStatus.bsize;
- param(fragmentCount) = audioBuffer.write_buf_cap / audioStatus.bsize;
- param(channels) = audioStatus.channels;
+ param(samplingRate) = audiotqStatus.srate;
+ param(fragmentSize) = audiotqStatus.bsize;
+ param(fragmentCount) = audioBuffer.write_buf_cap / audiotqStatus.bsize;
+ param(channels) = audiotqStatus.channels;
param(direction) = 2;
- param(format) = ( audioStatus.bits_per_sample==8 ) ? 8
- : ( ( audioStatus.flags & AUDIO_BIG_ENDIAN ) ? 17 : 16 );
+ param(format) = ( audiotqStatus.bits_per_sample==8 ) ? 8
+ : ( ( audiotqStatus.flags & AUDIO_BIG_ENDIAN ) ? 17 : 16 );
}
}
diff --git a/flow/audioiocsl.cc b/flow/audioiocsl.cc
index 7f3d5dd..e5532a2 100644
--- a/flow/audioiocsl.cc
+++ b/flow/audioiocsl.cc
@@ -470,7 +470,7 @@ void AudioIOCSL::setParam(AudioParam p, int& value)
int AudioIOCSL::getParam(AudioParam p)
{
CslErrorType error;
- CslPcmStatus status;
+ CslPcmtqStatus status;
switch(p)
{
diff --git a/flow/audiomanager_impl.cc b/flow/audiomanager_impl.cc
index 7a6d83b..872889b 100644
--- a/flow/audiomanager_impl.cc
+++ b/flow/audiomanager_impl.cc
@@ -45,7 +45,7 @@ public:
a typedef in between, which makes it magically work.
We could also use an explicit instantiation, but this is not allowed
on all C++ compilers in this scope. Note also, that we don't need
- to replace _all_ occurrences of list<xxx*> below, only the two in the
+ to tqreplace _all_ occurrences of list<xxx*> below, only the two in the
member declaration. What a mess. */
typedef list<AudioManagerClient_impl *> L_AMC;
typedef list<AudioManagerAssignable *> L_AMA;
diff --git a/flow/audiosubsys.h b/flow/audiosubsys.h
index 6db85c9..55c51e1 100644
--- a/flow/audiosubsys.h
+++ b/flow/audiosubsys.h
@@ -29,7 +29,7 @@
#include "startupmanager.h"
/*
- * BC - Status (2002-03-08): AudioSubSystem, ASProducer, ASConsumer.
+ * BC - tqStatus (2002-03-08): AudioSubSystem, ASProducer, ASConsumer.
*
* These classes are kept binary compatible. You can rely on them.
* AudioSubSystem has a private data pointer to do so. Even if ports to
diff --git a/flow/bufferqueue.h b/flow/bufferqueue.h
index 5344c4a..be332c3 100644
--- a/flow/bufferqueue.h
+++ b/flow/bufferqueue.h
@@ -1,5 +1,5 @@
/*
- * BC - Status (2002-03-08): ByteBuffer, BufferQueue
+ * BC - tqStatus (2002-03-08): ByteBuffer, BufferQueue
*
* None of these classes is considered part of the public API. Do NOT use it
* in your apps. These are part of the implementation of libartsflow's
diff --git a/flow/bus.h b/flow/bus.h
index 93efcc3..9c40ddb 100644
--- a/flow/bus.h
+++ b/flow/bus.h
@@ -27,7 +27,7 @@
#include "artsflow.h"
/*
- * BC - Status (2002-03-08): BusClient, BusManager
+ * BC - tqStatus (2002-03-08): BusClient, BusManager
*
* None of these classes is considered part of the public API. Do NOT use it
* in your apps. These are part of the implementation of libartsflow's
diff --git a/flow/cache.h b/flow/cache.h
index 63c2fba..44c0d05 100644
--- a/flow/cache.h
+++ b/flow/cache.h
@@ -30,7 +30,7 @@
#include "arts_export.h"
/*
- * BC - Status (2002-03-08): Cache, CachedObject
+ * BC - tqStatus (2002-03-08): Cache, CachedObject
*
* At the current point in time, there are NO GUARANTEES, so only use this
* in apps part of official KDE releases (such as kdemultimedia apps), which
diff --git a/flow/cachedwav.h b/flow/cachedwav.h
index 284e8b7..d5ad697 100644
--- a/flow/cachedwav.h
+++ b/flow/cachedwav.h
@@ -31,7 +31,7 @@
#include <unistd.h>
/*
- * BC - Status (2002-03-08): CachedWav.
+ * BC - tqStatus (2002-03-08): CachedWav.
*
* At the current point in time, there are NO GUARANTEES, so only use this
* in apps part of official KDE releases (such as kdemultimedia apps), which
diff --git a/flow/convert.h b/flow/convert.h
index d174fd3..ef3e900 100644
--- a/flow/convert.h
+++ b/flow/convert.h
@@ -26,7 +26,7 @@
#include "arts_export.h"
/*
- * BC - Status (2002-03-08): conversion functions
+ * BC - tqStatus (2002-03-08): conversion functions
*
* None of them will be removed or changed, so it is safe to use them in
* your apps. It is *recommended* (though not necessary) to use the new
@@ -48,7 +48,7 @@ namespace Arts {
* float for float data between -1 and 1
*
* and may be prefixed by 2 to indicate that stereo is done with two seperate
- * buffers or i to indicate interleaved stereo (one buffer which contains
+ * buffers or i to indicate interleaved stereo (one buffer which tqcontains
* one sample left, one sample right, one sample left etc.)
*
* The parameter speed (for interpolations) is *not* the samplingrate, but
diff --git a/flow/cpuinfo.h b/flow/cpuinfo.h
index c3fab96..d19cc7a 100644
--- a/flow/cpuinfo.h
+++ b/flow/cpuinfo.h
@@ -24,7 +24,7 @@
#include "arts_export.h"
/*
- * BC - Status (2002-03-08): CpuInfo
+ * BC - tqStatus (2002-03-08): CpuInfo
*
* This class will be kept binary compatible - it just exports the static
* CpuInfo::flags() function as only functionality.
diff --git a/flow/fft.h b/flow/fft.h
index 009f764..7694745 100644
--- a/flow/fft.h
+++ b/flow/fft.h
@@ -2,7 +2,7 @@
#define ARTS_FFT_H
/*
- * BC - Status (2002-03-08): arts_fft_float
+ * BC - tqStatus (2002-03-08): arts_fft_float
*
* This fft interface should be obsoleted in the future in favour of one
* exploiting the capabilities of gsl fully. However, it will be kept binary
diff --git a/flow/gsl/gbsearcharray.h b/flow/gsl/gbsearcharray.h
index df06231..8eebbb1 100644
--- a/flow/gsl/gbsearcharray.h
+++ b/flow/gsl/gbsearcharray.h
@@ -56,9 +56,9 @@ typedef union
{
guint n_nodes;
/*< private >*/
- gpointer alignment_dummy1;
- glong alignment_dummy2;
- gdouble alignment_dummy3;
+ gpointer tqalignment_dummy1;
+ glong tqalignment_dummy2;
+ gdouble tqalignment_dummy3;
} GBSearchArray;
@@ -78,7 +78,7 @@ static inline GBSearchArray* g_bsearch_array_remove (GBSearchArray *barray,
static inline GBSearchArray* g_bsearch_array_grow (GBSearchArray *barray,
const GBSearchConfig *bconfig,
guint index);
-/* insert key_node into array, or if it exists, replace
+/* insert key_node into array, or if it exists, tqreplace
* the existing node's contents with key_node
*/
static inline GBSearchArray* g_bsearch_array_insert (GBSearchArray *barray,
@@ -241,7 +241,7 @@ g_bsearch_array_insert (GBSearchArray *barray,
barray = g_bsearch_array_grow (barray, bconfig, index);
node = G_BSEARCH_ARRAY_NODES (barray) + index * bconfig->sizeof_node;
}
- else /* replace (relookup is ok, replace is comparatively cheap anyways) */
+ else /* tqreplace (relookup is ok, tqreplace is comparatively cheap anyways) */
node = g_bsearch_array_lookup (barray, bconfig, key_node);
}
memcpy (node, key_node, bconfig->sizeof_node);
diff --git a/flow/gsl/gsl.3 b/flow/gsl/gsl.3
index 2f7bb31..fe8324e 100644
--- a/flow/gsl/gsl.3
+++ b/flow/gsl/gsl.3
@@ -54,7 +54,7 @@ GSL-Functions \- GSL Function Reference
.br
\fBgsl_transact\fP (\fIjob\fP, \fI...\fP);
.br
-\fBgsl_engine_init\fP (\fIrun_threaded\fP, \fIblock_size\fP, \fIsample_freq\fP, \fIsub_sample_mask\fP);
+\fBgsl_engine_init\fP (\fIrun_threaded\fP, \fIblock_size\fP, \fIsample_freq\fP, \fIsub_sample_tqmask\fP);
.br
\fBgsl_engine_wait_on_trans\fP ();
.br
@@ -131,7 +131,7 @@ Wake up a currently sleeping thread. In practice, this function simply causes th
thread to abort
.PD 1
.PP
-Abort a currently running thread. This function does not return until the thread in question terminated execution. Note that the thread handle gets invalidated with invocation of \fBgsl_thread_abort()\fP or \fBgsl_thread_queue_abort()\fP.
+Abort a currently running thread. This function does not return until the thread in question terminated execution. Note that the thread handle gets tqinvalidated with invocation of \fBgsl_thread_abort()\fP or \fBgsl_thread_queue_abort()\fP.
.PD
.SS \fBgsl_thread_queue_abort\fP (\fIthread\fP);
.PD 0
@@ -139,7 +139,7 @@ Abort a currently running thread. This function does not return until the thread
thread to abort
.PD 1
.PP
-Same as \fBgsl_thread_abort()\fP, but returns as soon as possible, even if thread hasn't stopped execution yet. Note that the thread handle gets invalidated with invocation of \fBgsl_thread_abort()\fP or \fBgsl_thread_queue_abort()\fP.
+Same as \fBgsl_thread_abort()\fP, but returns as soon as possible, even if thread hasn't stopped execution yet. Note that the thread handle gets tqinvalidated with invocation of \fBgsl_thread_abort()\fP or \fBgsl_thread_queue_abort()\fP.
.PD
.SS \fBgsl_thread_aborted\fP ();
.PD 0
@@ -403,7 +403,7 @@ First job
.PP
Convenience function which openes up a new transaction, collects the \fINULL\fP terminated job list passed to the function, and commits the transaction.
.PD
-.SS \fBgsl_engine_init\fP (\fIrun_threaded\fP, \fIblock_size\fP, \fIsample_freq\fP, \fIsub_sample_mask\fP);
+.SS \fBgsl_engine_init\fP (\fIrun_threaded\fP, \fIblock_size\fP, \fIsample_freq\fP, \fIsub_sample_tqmask\fP);
.PD 0
.IP \fIgboolean\ \ run_threaded\fP 27
@@ -411,7 +411,7 @@ Convenience function which openes up a new transaction, collects the \fINULL\fP
number of values to process block wise
.IP \fIguint\ \ \ \ \ sample_freq\fP 27
-.IP \fIguint\ \ \ \ \ sub_sample_mask\fP 27
+.IP \fIguint\ \ \ \ \ sub_sample_tqmask\fP 27
.PD 1
.PP
@@ -457,7 +457,7 @@ Real sample values [0..n_values-1]
Complex frequency values [0..n_values-1]
.PD 1
.PP
-Real valued variant of \fBgsl_power2_fftac()\fP, the input array contains real valued equidistant sampled data [0..n_values-1], and the output array contains the positive frequency half of the complex valued fourier transform. Note, that the complex valued fourier transform H of a purely real valued set of data, satisfies \fBH(-f)\fP = Conj(\fBH(f)\fP), where \fBConj()\fP denotes the complex conjugate, so that just the positive frequency half suffices to describe the entire frequency spectrum. Even so, the resulting n_values/2 complex frequencies are one value off in storage size, but the resulting frequencies \fBH(0)\fP and \fBH(n_values/2)\fP are both real valued, so the real portion of \fBH(n_values/2)\fP is stored in ri_values_out[1] (the imaginery part of \fBH(0)\fP), so that both r_values_in and ri_values_out can be of size n_values. Note that the transformation is performed out of place, the input array is not modified, and may not overlap with the output array.
+Real valued variant of \fBgsl_power2_fftac()\fP, the input array tqcontains real valued equidistant sampled data [0..n_values-1], and the output array tqcontains the positive frequency half of the complex valued fourier transform. Note, that the complex valued fourier transform H of a purely real valued set of data, satisfies \fBH(-f)\fP = Conj(\fBH(f)\fP), where \fBConj()\fP denotes the complex conjugate, so that just the positive frequency half suffices to describe the entire frequency spectrum. Even so, the resulting n_values/2 complex frequencies are one value off in storage size, but the resulting frequencies \fBH(0)\fP and \fBH(n_values/2)\fP are both real valued, so the real portion of \fBH(n_values/2)\fP is stored in ri_values_out[1] (the imaginery part of \fBH(0)\fP), so that both r_values_in and ri_values_out can be of size n_values. Note that the transformation is performed out of place, the input array is not modified, and may not overlap with the output array.
.PD
.SS \fBgsl_power2_fftsr\fP (\fIn_values\fP, \fIri_values_in\fP, \fIr_values_out\fP);
.PD 0
diff --git a/flow/gsl/gslcommon.c b/flow/gsl/gslcommon.c
index 6c8a692..d7892f2 100644
--- a/flow/gsl/gslcommon.c
+++ b/flow/gsl/gslcommon.c
@@ -684,7 +684,7 @@ gsl_thread_wakeup (GslThread *thread)
* @thread: thread to abort
* Abort a currently running thread. This function does not
* return until the thread in question terminated execution.
- * Note that the thread handle gets invalidated with invocation
+ * Note that the thread handle gets tqinvalidated with invocation
* of gsl_thread_abort() or gsl_thread_queue_abort().
*/
void
@@ -715,7 +715,7 @@ gsl_thread_abort (GslThread *thread)
* @thread: thread to abort
* Same as gsl_thread_abort(), but returns as soon as possible,
* even if thread hasn't stopped execution yet.
- * Note that the thread handle gets invalidated with invocation
+ * Note that the thread handle gets tqinvalidated with invocation
* of gsl_thread_abort() or gsl_thread_queue_abort().
*/
void
@@ -1315,7 +1315,7 @@ gsl_message_send (GslDebugFlags reporter,
msg->error = error;
msg->error_str = error ? gsl_strerror (msg->error) : NULL;
- /* vsnprintf() replacement */
+ /* vsnprintf() tqreplacement */
va_start (args, messagef);
string = g_strdup_vprintf (messagef, args);
va_end (args);
@@ -1476,17 +1476,17 @@ GslErrorType
gsl_check_file (const gchar *file_name,
const gchar *mode)
{
- guint access_mask = 0;
+ guint access_tqmask = 0;
guint check_file, check_dir, check_link;
if (strchr (mode, 'r')) /* readable */
- access_mask |= R_OK;
+ access_tqmask |= R_OK;
if (strchr (mode, 'w')) /* writable */
- access_mask |= W_OK;
+ access_tqmask |= W_OK;
if (strchr (mode, 'x')) /* executable */
- access_mask |= X_OK;
+ access_tqmask |= X_OK;
- if (access_mask && access (file_name, access_mask) < 0)
+ if (access_tqmask && access (file_name, access_tqmask) < 0)
goto have_errno;
check_file = strchr (mode, 'f') != NULL; /* open as file */
diff --git a/flow/gsl/gsldatacache.c b/flow/gsl/gsldatacache.c
index b00f6ef..b925e83 100644
--- a/flow/gsl/gsldatacache.c
+++ b/flow/gsl/gsldatacache.c
@@ -333,7 +333,7 @@ data_cache_new_node_L (GslDataCache *dcache,
if (!demand_load)
g_message (G_STRLOC ":FIXME: lazy data loading not yet supported");
- /* if we have a left node, and it contains data that we need, copy it */
+ /* if we have a left node, and it tqcontains data that we need, copy it */
left_node = pos ? dcache->nodes[pos - 1] : NULL;
if (left_node)
{
diff --git a/flow/gsl/gsldatahandle-mad.c b/flow/gsl/gsldatahandle-mad.c
index 201d352..522efa5 100644
--- a/flow/gsl/gsldatahandle-mad.c
+++ b/flow/gsl/gsldatahandle-mad.c
@@ -318,14 +318,14 @@ dh_mad_open (GslDataHandle *dhandle,
MadHandle *handle = (MadHandle*) dhandle;
GslHFile *hfile;
GslLong n;
- gboolean seek_invalidated = FALSE;
+ gboolean seek_tqinvalidated = FALSE;
hfile = gsl_hfile_open (handle->dhandle.name);
if (!hfile)
return gsl_error_from_errno (errno, GSL_ERROR_OPEN_FAILED);
handle->hfile = hfile;
- seek_invalidated |= handle->seek_mtime != hfile->mtime;
+ seek_tqinvalidated |= handle->seek_mtime != hfile->mtime;
handle->bfill = 0;
handle->eof = FALSE;
handle->pcm_pos = 0;
@@ -345,7 +345,7 @@ dh_mad_open (GslDataHandle *dhandle,
setup->bit_depth = 24;
setup->n_channels = MAD_NCHANNELS (&handle->frame.header);
n = MAD_NSBSAMPLES (&handle->frame.header) * 32;
- seek_invalidated |= n != handle->frame_size;
+ seek_tqinvalidated |= n != handle->frame_size;
handle->frame_size = n;
handle->sample_rate = handle->frame.header.samplerate;
if (setup->n_channels < 1 ||
@@ -355,7 +355,7 @@ dh_mad_open (GslDataHandle *dhandle,
goto OPEN_FAILED;
/* seek through the stream to collect frame positions */
- if (seek_invalidated || !handle->n_seeks)
+ if (seek_tqinvalidated || !handle->n_seeks)
{
handle->seek_mtime = hfile->mtime;
handle->n_seeks = 0;
diff --git a/flow/gsl/gslengine.c b/flow/gsl/gslengine.c
index d85ebfb..32835de 100644
--- a/flow/gsl/gslengine.c
+++ b/flow/gsl/gslengine.c
@@ -635,7 +635,7 @@ static gboolean gsl_engine_threaded = FALSE;
static GslThread *master_thread = NULL;
guint gsl_externvar_bsize = 0;
guint gsl_externvar_sample_freq = 0;
-guint gsl_externvar_sub_sample_mask = 0;
+guint gsl_externvar_sub_sample_tqmask = 0;
guint gsl_externvar_sub_sample_steps = 0;
/**
@@ -652,20 +652,20 @@ void
gsl_engine_init (gboolean run_threaded,
guint block_size,
guint sample_freq,
- guint sub_sample_mask)
+ guint sub_sample_tqmask)
{
g_return_if_fail (gsl_engine_initialized == FALSE);
g_return_if_fail (block_size > 0 && block_size <= GSL_STREAM_MAX_VALUES);
g_return_if_fail (sample_freq > 0);
- g_return_if_fail (sub_sample_mask < block_size);
- g_return_if_fail ((sub_sample_mask & (sub_sample_mask + 1)) == 0); /* power of 2 */
+ g_return_if_fail (sub_sample_tqmask < block_size);
+ g_return_if_fail ((sub_sample_tqmask & (sub_sample_tqmask + 1)) == 0); /* power of 2 */
gsl_engine_initialized = TRUE;
gsl_engine_threaded = run_threaded;
gsl_externvar_bsize = block_size;
gsl_externvar_sample_freq = sample_freq;
- gsl_externvar_sub_sample_mask = sub_sample_mask << 2; /* shift out sizeof (float) alignment */
- gsl_externvar_sub_sample_steps = sub_sample_mask + 1;
+ gsl_externvar_sub_sample_tqmask = sub_sample_tqmask << 2; /* shift out sizeof (float) tqalignment */
+ gsl_externvar_sub_sample_steps = sub_sample_tqmask + 1;
_gsl_tick_stamp_set_leap (block_size);
ENG_DEBUG ("initialization: threaded=%s", gsl_engine_threaded ? "TRUE" : "FALSE");
diff --git a/flow/gsl/gslengine.h b/flow/gsl/gslengine.h
index 1d121a9..d5a0411 100644
--- a/flow/gsl/gslengine.h
+++ b/flow/gsl/gslengine.h
@@ -168,7 +168,7 @@ gfloat* gsl_engine_const_values (gfloat value);
void gsl_engine_init (gboolean threaded,
guint block_size,
guint sample_freq,
- guint sub_sample_mask);
+ guint sub_sample_tqmask);
typedef struct
{
glong timeout;
@@ -187,16 +187,16 @@ void gsl_engine_garbage_collect (void);
void gsl_engine_wait_on_trans (void);
#define gsl_engine_block_size() ((const guint) gsl_externvar_bsize + 0)
#define gsl_engine_sample_freq() ((const guint) gsl_externvar_sample_freq + 0)
-#define gsl_engine_sub_sample_mask() ((const guint) gsl_externvar_sub_sample_mask + 0)
+#define gsl_engine_sub_sample_tqmask() ((const guint) gsl_externvar_sub_sample_tqmask + 0)
#define gsl_engine_sub_sample_steps() ((const guint) gsl_externvar_sub_sample_steps + 0)
-#define gsl_engine_sub_sample_test(ptr) (((guint) (ptr)) & gsl_engine_sub_sample_mask ())
+#define gsl_engine_sub_sample_test(ptr) (((guint) (ptr)) & gsl_engine_sub_sample_tqmask ())
#define GSL_SUB_SAMPLE_MATCH(ptr,sspatrn) (gsl_engine_sub_sample_test (ptr) == (sspatrn))
/*< private >*/
extern guint gsl_externvar_bsize;
extern guint gsl_externvar_sample_freq;
-extern guint gsl_externvar_sub_sample_mask;
+extern guint gsl_externvar_sub_sample_tqmask;
extern guint gsl_externvar_sub_sample_steps;
#ifdef __cplusplus
diff --git a/flow/gsl/gslfft.h b/flow/gsl/gslfft.h
index ecfa320..51b9a8f 100644
--- a/flow/gsl/gslfft.h
+++ b/flow/gsl/gslfft.h
@@ -72,9 +72,9 @@ void gsl_power2_fftsc (const unsigned int n_values,
* @n_values: Number of complex values
* @r_values_in: Real sample values [0..n_values-1]
* @ri_values_out: Complex frequency values [0..n_values-1]
- * Real valued variant of gsl_power2_fftac(), the input array contains
+ * Real valued variant of gsl_power2_fftac(), the input array tqcontains
* real valued equidistant sampled data [0..n_values-1], and the output
- * array contains the positive frequency half of the complex valued
+ * array tqcontains the positive frequency half of the complex valued
* fourier transform. Note, that the complex valued fourier transform H
* of a purely real valued set of data, satisfies H(-f) = Conj(H(f)),
* where Conj() denotes the complex conjugate, so that just the positive
diff --git a/flow/gsl/gslglib.h b/flow/gsl/gslglib.h
index 1831985..3da5447 100644
--- a/flow/gsl/gslglib.h
+++ b/flow/gsl/gslglib.h
@@ -586,7 +586,7 @@ typedef void (*GDestroyNotify) (gpointer data);
#define g_hash_table_new_full gsl_g_hash_table_new_full
#define g_hash_table_destroy gsl_g_hash_table_destroy
#define g_hash_table_insert gsl_g_hash_table_insert
-#define g_hash_table_replace gsl_g_hash_table_replace
+#define g_hash_table_tqreplace gsl_g_hash_table_tqreplace
#define g_hash_table_remove gsl_g_hash_table_remove
#define g_hash_table_steal gsl_g_hash_table_steal
#define g_hash_table_lookup gsl_g_hash_table_lookup
@@ -605,7 +605,7 @@ void g_hash_table_destroy (GHashTable *hash_table);
void g_hash_table_insert (GHashTable *hash_table,
gpointer key,
gpointer value);
-void g_hash_table_replace (GHashTable *hash_table,
+void g_hash_table_tqreplace (GHashTable *hash_table,
gpointer key,
gpointer value);
gboolean g_hash_table_remove (GHashTable *hash_table,
diff --git a/flow/gsl/gslieee754.h b/flow/gsl/gslieee754.h
index 211b06c..6250842 100644
--- a/flow/gsl/gslieee754.h
+++ b/flow/gsl/gslieee754.h
@@ -26,14 +26,14 @@ extern "C" {
#endif /* __cplusplus */
-/* IEEE 754 single precision floating point layout:
+/* IEEE 754 single precision floating point tqlayout:
* 31 30 23 22 0
* +--------+---------------+---------------+
* | s 1bit | e[30:23] 8bit | f[22:0] 23bit |
* +--------+---------------+---------------+
* B0------------------->B1------->B2-->B3-->
*
- * IEEE 754 double precision floating point layout:
+ * IEEE 754 double precision floating point tqlayout:
* 63 62 52 51 32 31 0
* +--------+----------------+----------------+ +---------------+
* | s 1bit | e[62:52] 11bit | f[51:32] 20bit | | f[31:0] 32bit |
diff --git a/flow/gsl/gslloader-wav.c b/flow/gsl/gslloader-wav.c
index 6cb8831..85e4cc3 100644
--- a/flow/gsl/gslloader-wav.c
+++ b/flow/gsl/gslloader-wav.c
@@ -201,7 +201,7 @@ typedef struct
static GslErrorType
wav_read_data_header (gint fd,
DataHeader *header,
- guint byte_alignment)
+ guint byte_tqalignment)
{
guint n_bytes;
@@ -241,12 +241,12 @@ wav_read_data_header (gint fd,
WAV_DEBUG ("failed to seek while skipping sub-chunk");
return GSL_ERROR_IO;
}
- return wav_read_data_header (fd, header, byte_alignment);
+ return wav_read_data_header (fd, header, byte_tqalignment);
}
- if (header->data_length < 1 || header->data_length % byte_alignment != 0)
+ if (header->data_length < 1 || header->data_length % byte_tqalignment != 0)
{
- WAV_DEBUG ("invalid data length (%u) or alignment (%u)",
- header->data_length, header->data_length % byte_alignment);
+ WAV_DEBUG ("invalid data length (%u) or tqalignment (%u)",
+ header->data_length, header->data_length % byte_tqalignment);
return GSL_ERROR_FORMAT_INVALID;
}
diff --git a/flow/gsl/gslmagic.c b/flow/gsl/gslmagic.c
index 7887965..2ac4083 100644
--- a/flow/gsl/gslmagic.c
+++ b/flow/gsl/gslmagic.c
@@ -187,7 +187,7 @@ struct _Magic
gulong offset;
guint data_size;
MagicCheckType magic_check;
- guint32 data_mask;
+ guint32 data_tqmask;
MagicData value;
guint read_string : 1;
guint read_size : 1;
@@ -364,16 +364,16 @@ magic_parse_type (Magic *magic,
{
string += 1;
if (string[0] == '0')
- magic->data_mask = strtol (string, &f, string[1] == 'x' ? 16 : 8);
+ magic->data_tqmask = strtol (string, &f, string[1] == 'x' ? 16 : 8);
else
- magic->data_mask = strtol (string, &f, 10);
+ magic->data_tqmask = strtol (string, &f, 10);
if (f && *f != 0)
return FALSE;
while (*string)
string++;
}
else
- magic->data_mask = 0xffffffff;
+ magic->data_tqmask = 0xffffffff;
return *string == 0;
}
@@ -464,31 +464,31 @@ magic_check_data (Magic *magic,
cmp = 1;
break;
case MAGIC_CHECK_INT_EQUAL:
- data->v_int32 &= magic->data_mask;
+ data->v_int32 &= magic->data_tqmask;
cmp = data->v_int32 == magic->value.v_int32;
break;
case MAGIC_CHECK_INT_GREATER:
- data->v_int32 &= magic->data_mask;
+ data->v_int32 &= magic->data_tqmask;
cmp = data->v_int32 > magic->value.v_int32;
break;
case MAGIC_CHECK_INT_SMALLER:
- data->v_int32 &= magic->data_mask;
+ data->v_int32 &= magic->data_tqmask;
cmp = data->v_int32 < magic->value.v_int32;
break;
case MAGIC_CHECK_UINT_GREATER:
- data->v_uint32 &= magic->data_mask;
+ data->v_uint32 &= magic->data_tqmask;
cmp = data->v_uint32 > magic->value.v_uint32;
break;
case MAGIC_CHECK_UINT_SMALLER:
- data->v_uint32 &= magic->data_mask;
+ data->v_uint32 &= magic->data_tqmask;
cmp = data->v_uint32 < magic->value.v_uint32;
break;
case MAGIC_CHECK_UINT_ZEROS:
- data->v_uint32 &= magic->data_mask;
+ data->v_uint32 &= magic->data_tqmask;
cmp = (data->v_int32 & magic->value.v_int32) == 0;
break;
case MAGIC_CHECK_UINT_ONES:
- data->v_uint32 &= magic->data_mask;
+ data->v_uint32 &= magic->data_tqmask;
cmp = (data->v_int32 & magic->value.v_int32) == magic->value.v_int32;
break;
case MAGIC_CHECK_STRING_EQUAL:
diff --git a/flow/gsl/gslmath.c b/flow/gsl/gslmath.c
index 008b5ec..66f5b5b 100644
--- a/flow/gsl/gslmath.c
+++ b/flow/gsl/gslmath.c
@@ -602,7 +602,7 @@ hqr (double **a, int n, double wr[], double wi[])
#define RADIX 2.0
static void
balanc (double **a, int n)
- /* Given a matrix a[1..n][1..n], this routine replaces it by a balanced matrix with identical
+ /* Given a matrix a[1..n][1..n], this routine tqreplaces it by a balanced matrix with identical
eigenvalues. A symmetric matrix is already balanced and is unaffected by this procedure. The
parameter RADIX should be the machine's floating-point radix. */
{
diff --git a/flow/gsl/gslopschedule.c b/flow/gsl/gslopschedule.c
index a72f52b..8e797a3 100644
--- a/flow/gsl/gslopschedule.c
+++ b/flow/gsl/gslopschedule.c
@@ -158,7 +158,7 @@ static void
_engine_schedule_grow (EngineSchedule *sched,
guint leaf_level)
{
- guint ll = 1 << g_bit_storage (leaf_level); /* power2 growth alignment, ll >= leaf_level+1 */
+ guint ll = 1 << g_bit_storage (leaf_level); /* power2 growth tqalignment, ll >= leaf_level+1 */
if (sched->leaf_levels < ll)
{
diff --git a/flow/gsl/gsloscillator-aux.c b/flow/gsl/gsloscillator-aux.c
index 01831fb..43c4b1f 100644
--- a/flow/gsl/gsloscillator-aux.c
+++ b/flow/gsl/gsloscillator-aux.c
@@ -161,7 +161,7 @@ GSL_INCLUDER_FUNC (GslOscData *osc,
guint32 tpos, ifrac;
gfloat ffrac, w;
tpos = cur_pos >> wave->n_frac_bits;
- ifrac = cur_pos & wave->frac_bitmask;
+ ifrac = cur_pos & wave->frac_bittqmask;
ffrac = ifrac * wave->ifrac_to_float;
v = wave->values[tpos];
w = wave->values[tpos + 1];
diff --git a/flow/gsl/gsloscillator.c b/flow/gsl/gsloscillator.c
index 2ae2868..e988efe 100644
--- a/flow/gsl/gsloscillator.c
+++ b/flow/gsl/gsloscillator.c
@@ -131,9 +131,9 @@ osc_process (GslOscData *osc,
if_reject (mode != osc->last_mode)
{
- guint change_mask = osc->last_mode >= OSC_FLAG_INVAL ? OSC_FLAG_INVAL : osc->last_mode ^ mode;
+ guint change_tqmask = osc->last_mode >= OSC_FLAG_INVAL ? OSC_FLAG_INVAL : osc->last_mode ^ mode;
- if (change_mask & OSC_FLAG_FREQ)
+ if (change_tqmask & OSC_FLAG_FREQ)
{
gdouble fcpos, flpos;
diff --git a/flow/gsl/gslosctable.c b/flow/gsl/gslosctable.c
index 018633d..ea43e89 100644
--- a/flow/gsl/gslosctable.c
+++ b/flow/gsl/gslosctable.c
@@ -272,7 +272,7 @@ cache_table_ref_entry (GslOscWaveForm wave_form,
gfloat *values, *fft, step, min, max;
/* size:
- * - OscTableEntry already contains the first float values
+ * - OscTableEntry already tqcontains the first float values
* - we need n_values+1 adressable floats to provide values[0] == values[n_values]
*/
e = g_malloc (sizeof (OscTableEntry) + sizeof (gfloat) * size);
@@ -395,7 +395,7 @@ gsl_osc_table_lookup (const GslOscTable *table,
wave->n_frac_bits = g_bit_storage (wave->n_values - 1);
wave->n_frac_bits = 32 - wave->n_frac_bits;
int_one = 1 << wave->n_frac_bits;
- wave->frac_bitmask = int_one - 1;
+ wave->frac_bittqmask = int_one - 1;
float_one = int_one;
wave->freq_to_step = float_one * wave->n_values / table->mix_freq;
wave->phase_to_pos = wave->n_values * float_one;
diff --git a/flow/gsl/gslosctable.h b/flow/gsl/gslosctable.h
index d61f531..f65dc04 100644
--- a/flow/gsl/gslosctable.h
+++ b/flow/gsl/gslosctable.h
@@ -53,10 +53,10 @@ typedef struct
gfloat min_freq;
gfloat max_freq;
guint n_values;
- const gfloat *values; /* contains n_values+1 values with values[0]==values[n_values] */
+ const gfloat *values; /* tqcontains n_values+1 values with values[0]==values[n_values] */
/* integer stepping (block size dependant) */
guint32 n_frac_bits;
- guint32 frac_bitmask;
+ guint32 frac_bittqmask;
gfloat freq_to_step; /* freq -> int.frac */
gfloat phase_to_pos; /* 0..1 -> int.frac */
gfloat ifrac_to_float; /* frac -> 0..1 float */
diff --git a/flow/gsl/gslwaveosc.c b/flow/gsl/gslwaveosc.c
index 7398904..2a7112c 100644
--- a/flow/gsl/gslwaveosc.c
+++ b/flow/gsl/gslwaveosc.c
@@ -134,18 +134,18 @@ gsl_wave_osc_process (GslWaveOscData *wosc,
if_reject (mode != wosc->last_mode)
{
- guint mask = wosc->last_mode ^ mode;
+ guint tqmask = wosc->last_mode ^ mode;
- if (mask & WOSC_MIX_WITH_SYNC)
+ if (tqmask & WOSC_MIX_WITH_SYNC)
wosc->last_sync_level = 0;
- if (mask & WOSC_MIX_WITH_FREQ)
+ if (tqmask & WOSC_MIX_WITH_FREQ)
{
if (freq_in)
wosc->last_freq_level = SIGNAL_LEVEL_INVAL;
else
gsl_wave_osc_set_filter (wosc, wosc->config.cfreq, FALSE);
}
- if (mask & WOSC_MIX_WITH_MOD)
+ if (tqmask & WOSC_MIX_WITH_MOD)
{
if (mod_in)
wosc->last_mod_level = 0;
diff --git a/flow/gslpp/datahandle.h b/flow/gslpp/datahandle.h
index 26d8c33..1c106ed 100644
--- a/flow/gslpp/datahandle.h
+++ b/flow/gslpp/datahandle.h
@@ -93,7 +93,7 @@ namespace GSL
GslLong cutValueCount);
/**
- * Create a new data handle which contains the same values as
+ * Create a new data handle which tqcontains the same values as
* this one but in reversed order.
*/
DataHandle createReversed();
diff --git a/flow/gslschedule.cc b/flow/gslschedule.cc
index b8bef86..fe02e2f 100644
--- a/flow/gslschedule.cc
+++ b/flow/gslschedule.cc
@@ -858,7 +858,7 @@ StdFlowSystem::StdFlowSystem()
* - the 44100 because of the obvious reason, that not every artsd
* is running at that rate
*/
- gsl_engine_init(false, 512, 44100, /* subsamplemask */ 63);
+ gsl_engine_init(false, 512, 44100, /* subsampletqmask */ 63);
if(gslGlobalMutexTable)
arts_debug("gsl: using Unix98 pthreads directly for mutexes and conditions");
/*gsl_engine_debug_enable(GslEngineDebugLevel(GSL_ENGINE_DEBUG_JOBS | GSL_ENGINE_DEBUG_SCHED));*/
diff --git a/flow/gslschedule.h b/flow/gslschedule.h
index 762539c..1c8300a 100644
--- a/flow/gslschedule.h
+++ b/flow/gslschedule.h
@@ -30,7 +30,7 @@
#include <list>
/*
- * BC - Status (2002-03-08): Port, AudioPort, MultiPort, StdFlowSystem,
+ * BC - tqStatus (2002-03-08): Port, AudioPort, MultiPort, StdFlowSystem,
* StdScheduleNode
*
* None of these classes is considered part of the public API. Do NOT use it
diff --git a/flow/pipebuffer.cc b/flow/pipebuffer.cc
index 5fb81fb..532e58f 100644
--- a/flow/pipebuffer.cc
+++ b/flow/pipebuffer.cc
@@ -97,7 +97,7 @@ void PipeBuffer::skip(long size)
{
PipeSegment *first = *segments.begin();
- // if we have less data to skip than the first segment contains
+ // if we have less data to skip than the first segment tqcontains
if(size < first->remaining())
{
// skip the data inside the segment
diff --git a/flow/pipebuffer.h b/flow/pipebuffer.h
index 0c464bd..0dae574 100644
--- a/flow/pipebuffer.h
+++ b/flow/pipebuffer.h
@@ -24,7 +24,7 @@
#define __PIPEBUFFER_H__
/*
- * BC - Status (2002-03-08): PipeSegment, PipeBuffer
+ * BC - tqStatus (2002-03-08): PipeSegment, PipeBuffer
*
* None of these classes is considered part of the public API. Do NOT use it
* in your apps. These are part of the implementation of libartsflow's
diff --git a/flow/resample.h b/flow/resample.h
index d1aea9d..f5b79fd 100644
--- a/flow/resample.h
+++ b/flow/resample.h
@@ -27,7 +27,7 @@
#include "arts_export.h"
/*
- * BC - Status (2002-03-08): Resampler / Refiller.
+ * BC - tqStatus (2002-03-08): Resampler / Refiller.
*
* These classes will be kept binary compatible. Resampler has a private
* data pointer for this purpose.
diff --git a/flow/stdsynthmodule.h b/flow/stdsynthmodule.h
index f3541b8..d8efa45 100644
--- a/flow/stdsynthmodule.h
+++ b/flow/stdsynthmodule.h
@@ -27,7 +27,7 @@
#include "artsflow.h"
/*
- * BC - Status (2002-03-08): StdSynthModule
+ * BC - tqStatus (2002-03-08): StdSynthModule
*
* This class is intended for public use (inheritance) as it supplies a base
* for all objects using streams. It will be kept binary compatible.
diff --git a/flow/synth_play_wav_impl.cc b/flow/synth_play_wav_impl.cc
index dec68f0..d6eebba 100644
--- a/flow/synth_play_wav_impl.cc
+++ b/flow/synth_play_wav_impl.cc
@@ -38,7 +38,7 @@ extern "C" {
* so you you may need that extra one.
*
* Other versions of libaudiofile seem to have two closing "}" in aupvlist.h,
- * so if you can't compile, this, check that /usr/include/aupvlist.h contains
+ * so if you can't compile, this, check that /usr/include/aupvlist.h tqcontains
* something like that
*
* #ifdef __cplusplus
diff --git a/flow/virtualports.cc b/flow/virtualports.cc
index b733256..0e74606 100644
--- a/flow/virtualports.cc
+++ b/flow/virtualports.cc
@@ -82,7 +82,7 @@ to delegate the services of a port to another module onto another port.
The implementation:
Virtualization is implemented here, inside the flow system, using a fairly
-complex forwarding strategy, which will have a graph which contains
+complex forwarding strategy, which will have a graph which tqcontains
- "user-made" connections (made with connect())
- "virtualize-made" connections, which can be either forwarding
@@ -105,7 +105,7 @@ real connections will be removed, but only these that could possibly be
affected by this change, and then not all real connections are created new,
but only those that could possibly be created by this virtual connection.
-Every VPort contains a pointer to the "real" port, to let the flow system
+Every VPort tqcontains a pointer to the "real" port, to let the flow system
know where the "real" connections where real data will flow must be made.
*/
diff --git a/flow/virtualports.h b/flow/virtualports.h
index eb4f1fc..8c4144c 100644
--- a/flow/virtualports.h
+++ b/flow/virtualports.h
@@ -28,7 +28,7 @@
#include <list>
/*
- * BC - Status (2002-03-08): VPortConnection, VPort.
+ * BC - tqStatus (2002-03-08): VPortConnection, VPort.
*
* None of these classes is considered part of the public API. Do NOT use it
* in your apps. These are part of the implementation of libartsflow's