Displaying 20 results from an estimated 20 matches for "tatic".
Did you mean:
static
2009 Oct 09
1
[PATCH node] validify ipv4/ipv6 static/dhcp choice else loop
...orking b/scripts/ovirt-config-networking
index 7d4e363..45f7129 100755
--- a/scripts/ovirt-config-networking
+++ b/scripts/ovirt-config-networking
@@ -160,56 +160,66 @@ function configure_interface
return;;
esac
- read -ep "Enable IPv4 support ([S]tatic IP, [D]HCP, [N]o or [A]bort)? "
- case $REPLY in
- D|d)
- BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/BOOTPROTO dhcp"
- ;;
- S|s)
- printf "\n"
- read -ep "IP A...
2001 Oct 12
2
FLOOR_fromdB_LOOKUP
...s worry about the precision
and the float constants... and there is a large
lookup table in the floor1.c ... and I figure out
a way to keep the code size and speed, but
to improve the precision at this lookup table.
(the difference is small, but audible)
Here is the modifications in the floor1.c:
tatic unsigned long FLOOR_fromdB_LOOKUP[256]={
0x33E4B434,0x33F390FF,0x3401B286,
0x340A2036,0x34131A1E,0x341CA95A,
0x3426D7A0,0x3431AF44,0x343D3B49,
0x34498767,0x3456A01A,0x346492AE,
0x34736D4B,0x34819F83,0x348A0BF7,
0x3493048E,0x349C9263,0x34A6BF2B,
0x34B19538,0x34BD1F8C,0x34C969DD,
0x34D680A4,0x34E4712...
2004 Aug 06
1
BUG: sending bad buf's in MP3
In format_mp3.c
tatic int format_mp3_write_buf_to_client(format_plugin_t *self,
client_t *client, unsigned char *buf, int len)
{
int ret;
if(((mp3_state *)self->_state)->metadata)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is always true because previously it did state->metadata = strdup(&q...
2004 Apr 01
1
Theora MVect not defined in coding mode 0
Just wondering if someone can help me out...
I'm testing the core of my decoder filter (win32)... and when i get into this function:
tatic void DecodeMVectors ( PB_INSTANCE *pbi,ogg_uint32_t SBRows,ogg_uint32_t SBCols )
The decoding mode is 0.
When it attempts to do these lines....
pbi->FragMVect[FragIndex + 1].x = MVect[1].x;pbi->FragMVect[FragIndex + 1].y = MVect[1].y;
pbi->FragMVect[FragIndex + pbi->HFragments].x = M...
2001 Sep 03
0
FW: Problems trying to run the examples in windows vorbis sdk
More information about the error below:
I have downloaded the source and I got the same problem, but now I know in
which exact line the error is.
Inside the vorbisenc.c, we have the following function:
tatic void codec_setup_partialcopy(codec_setup_info *ci,
codec_setup_info *cs){
int i;
memcpy(ci,cs,sizeof(codec_setup_info)); /* to get the flat numbers */
/* codebooks */
for(i=0;i<ci->books;i++){
ci->book_param[i]=cs->book_param[i];
}
/* time backend settings */
f...
2002 Apr 07
1
2 questions about compiling the source
...the psy.h file:
typedef struct{
int eighth_octave_lines;
float preecho_thresh[4];
float postecho_thresh[4];
float preecho_minenergy;
float ampmax_att_per_sec;
int delaycache;
} vorbis_info_psy_global;
However, the file psytune.c makes this declaration:
tatic vorbis_info_psy_global _psy_set0G={
0, /* decaydBpms */
8, /* lines per eighth octave */
/* thresh sample period, preecho clamp trigger threshhold, range, minenergy */
256, {26.f,26.f,26.f,30.f}, {-90.f,-90.f,-90.f,-90.f}, -90.f,
-6.f,
0,
0.,
0.,
};
The declaration of _...
2000 Jun 22
0
LSP optimisations
...;m2;j++){ /*Ao and Ae are progressively */
temp=O[j]*Ao[j]+Ae[j]; /*filled with zeros*/
Ae[j]=Ao[j];
Ao[j]=A;
A+=temp;
temp=E[j]*Bo[j]+Be[j];
Be[j]=Bo[j];
Bo[j]=B;
B+=temp;
}
*lpc++=(A+Ao[j]+B-Ae[j])/2;
Ao[j]=A;
Ae[j]=B;
}
}
tatic void cacm283(double *a,int ord,double *r){
int i, k;
double val, p, delta, error;
double rooti;
for(i=0; i<ord;i++) r[i] = 2.0 * (i+0.5) / ord - 1.0;
for(error=1 ; error > 1.e-12; ) {
error = 0;
for( i=0; i<ord; i++) { /* Update each point. */
rooti = r[i];...
2002 Mar 27
0
CVS libvorbisfile
Hi,
Today I tried to run my player code with the CVS libvorbis (instead of RC3
as usual) and I found the infinite loop here (lines prefixed with >> are
in the loop):
tatic ogg_int64_t _get_prev_page(OggVorbis_File *vf,ogg_page *og){
ogg_int64_t begin=vf->offset;
ogg_int64_t end=begin;
ogg_int64_t ret;
ogg_int64_t offset=-1;
>> while(offset==-1){
>> begin-=CHUNKSIZE;
>> if(begin<0)
>> begin=0;
>> _seek_helper...
2002 Jul 12
0
Problem with checksums
...with all lacing
values and the page body to the CRC procedure. I even use the same look up
table in the CRC algo as is used in "framing.c". Still it deos not work.
Is there anything else I have to do?
Thanks,
Erik
============ code =============
CRC routine in C stolen from framing.c:
tatic unsigned int crc_lookup[256]={
0x00000000,0x04c11db7,0x09823b6e,0x0d4326d9,
[...]
0xbcb4666d,0xb8757bda,0xb5365d03,0xb1f740b4};
extern void ChecksumCalc(unsigned int *crc_reg, char *buffer, unsigned int
size){
unsigned int i;
for(i=0;i<size;i++)
*crc_reg=(*crc_reg<<8)^crc_lo...
2001 Jan 27
1
optimization to bark_noise_median()
...ased.
If this doesn't hurt performance on x86 or some other platform or have some other problem, could you please commit it?
Thanks!
-tim
/* quarter-dB bins */
#define BIN(x) ((int)((x)*negFour))
#define BINdB(x) ((x)*negQuarter)
#define BINCOUNT (200*4)
#define LASTBIN (BINCOUNT-1)
tatic void bark_noise_median(long n,const float *b,const float *f,float *noise,
float lowidth,float hiwidth,
int lomin,int himin,
const float *thresh,const float *off){
long i=0,lo=0,hi=0;
float bi,threshi;
lo...
2001 Aug 30
1
Problems with vorbisfile and files smaller than CHUNKSIZE
...s that vorbisfile has, and
decodes even the shortest Ogg files without problems.
I've not yet been able to resolve this problem fully, but did find
some obvious problems in vorbisfile.c relating to small files, such as
the following code fragment at the start of the _get_prev_page()
function:
tatic long _get_prev_page(OggVorbis_File *vf,ogg_page *og){
long begin=vf->offset;
long ret;
int offset=-1;
while(offset==-1){
begin-=CHUNKSIZE;
_seek_helper(vf,begin);
...
Initially, _get_prev_page() is called from _open_seekable2(), after
seeking to the end of the input file. So if...
2004 Aug 06
1
Error in compiling Speexdec code (Speex-1.1.5 code) on Windows using VC++6.0
Hi,
I've downloaded the Speex-1.1.5 code and am trying to compile the Speexdec code using Microsoft VC++ 6.0 IDE.
When I try to open the speexdec.dsw workspace, I get a dialog asking to locate the ogg_static file. I simply cancel that message, and then the project is opened in the VC++ 6.0 IDE.
Now, when I simply try to compile the program, I receive this 5 error messages.
error1. d:\speex\speex-1.1.5\libspeex\lsp.c(104) : error C2054: expected '(' to follow 'inline'
error2. d:\speex\...
2009 Jun 30
2
[PATCH node] Make all yes/no prompts consistent. rhbz#508778
...ethtool --identify $NIC 10
- ;;
- esac
+ if ask_yes_or_no "Help identify ${NIC} by blinking lights for 10 seconds (y/n)?"; then
+ ethtool --identify $NIC 10
+ fi
read -ep "Enable IPv4 support ([S]tatic IP, [D]HCP, [N]o or [A]bort)? "
case $REPLY in
@@ -129,18 +128,22 @@ function configure_interface
esac
printf "\n"
- read -ep "Is this correct (Y/N/A)? "
- case $REPLY in
- Y|y)
-...
2001 Feb 01
1
minor psy.c modifications
...oiseoffset=_ogg_malloc(n*sizeof(float));
p->tonecurves[i]=_ogg_malloc(P_LEVELS*sizeof(float));
3. modified bark_noise_median():
3/a: floating point based (new) style:
#define BIN(x) ((int)((x)*negFour))
#define BINdB(x) ((x)*negQuarter)
#define BINCOUNT (200*4)
#define LASTBIN (BINCOUNT-1)
tatic void bark_noise_median(long n,float *b,
float *f,float *noise,
float lowidth,float hiwidth,
int lomin,int himin,
float *thresh,float *o...
2001 Jan 27
4
ogg123 oss plugin plays garbage
I tried to use the current cvs version of ogg123 with oss output and the
ogg just sounds like static. I wanted to document it on the list in case
anyone else is having the problem. I can make ogg123 write wav files fine.
Also Vakor does not have any trouble playing oggs with ogg123, so I am not
certain what the problem is. I have tried compiling all of ogg vorbis
(ao,ogg,vorbis,vorbis-tools) se...
2004 Feb 23
2
About lossless and point stereo
...ng;
}else{
pcmA[j]=mag;
pcmM[j]=mag+ang;
}
else
if(ang>0){
pcmM[j]=mag;
pcmA[j]=mag+ang;
}else{
pcmA[j]=mag;
pcmM[j]=mag-ang;
}
}
}
But when I look at the (rather messy) lossless coupling function
(couple_lossless) in psy.c:
tatic void couple_lossless(float A, float B, float *qA, float *qB)
{
int test1 = fabs(*qA) > fabs(*qB);
test1 -= fabs(*qA) < fabs(*qB);
if (!test1)
test1 = ((fabs(A) > fabs(B)) << 1) - 1;
if (test1 == 1) {
*qB = (*qA > 0.f ? *qA - *qB : *qB - *qA);
} else {...
2013 Apr 16
2
Probs authenticating to Dovecot
Hi folks. I have set up a Ubuntu 12.04 VM with Dovecot, Postfix, MySQL, amavisd, and ISPConfig 3. The VM has tons of RAM and disk and processor and is permanently connected to the Internet with a static IP. I followed the instructions at howtoforge.com to set up and configure this VM and am using ISPConfig to set up a mail hub for multiple domains. I have the DNS for my other domains' MX records pointing at this host?we'll call it "mail."
Here's the version of Dovecot I'...
2003 Jan 29
4
PlusV algorithm
Important (imho)!
I found this site in the internet:
http://www.plusv.org/
PlusV is an audio enhancement algorithm similar to SRB of Mp3Pro, but
1) better than SBR
2) Fully open-source
It seems to me wise to include PlusV into new versions of Ogg Vorbis.
P.S. what about some long-awaited features in Ogg Vorbis?
1) ability to turn off the frequency filter in the encoder (especially for high
2009 May 27
4
[PATCH node] REPOST Joey's and Darryl's ovirt-config-* patches
This is a repost of patches for ovirt-config-*
ACK to all. Pushed.
2001 Oct 27
3
vorbis won't compile as a Framework
...ializer, near initialization for ''psy_set0.toneatt', 'vorbis_ftoi'
defined but not used, unused variable 'k', braces around scalar
initializer, and so on) and 65 errors.
Some examples of errors:
-------
vorbis/lib/psytune.c: undefined type, found 'vp_part':
static vp_part _vp_part0[]={
{ 1,9e10f, 9e10f, 1.f,9999.f},
{ 9999, .75f, 9e10f, .5f,9999.f},
/*{ 9999, 1.5f, 9e10f, .5f,9999.f},*/
{ 18,9e10f, 9e10f, .5f, 30.f},
{ 9999,9e10f, 9e10f, .5f, 30.f}
};
-------
vorbis/lib/psytune.c: extra brace group at end of...