Displaying 8 results from an estimated 8 matches for "max_nchar".
Did you mean:
max_nchars
2009 Oct 29
1
speex_bits_write_whole_bytes problem
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20091029/e587399d/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmezo.vcf
Type: text/x-vcard
Size: 345 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20091029/e587399d/attachment.vcf
2013 May 22
1
column width in .dbf files using write.dbf ... to be continued
...us message ("Is there a way to define "manually" columns width when using write.dbf function from the library foreign ?"), so I tried to modify write.dbf function to do what I want.
Here is my modified version :
write.dbfMODIF <- function (dataframe, file, factor2char = TRUE, max_nchar = 254, width = d)
{
allowed_classes <- c("logical", "integer", "numeric", "character",
"factor", "Date")
if (!is.data.frame(dataframe))
dataframe <- as.data.frame(dataframe) if (any(sapply(dataframe, funct...
2006 Dec 09
1
A question about speex_bits_write function
...(&bits, cbits, MAX_FRAME_BYTES);
I examine the content of this function and which value should I set to
MAX_FRAME_BYTE. In speexenc project, it is 2000 and in manual it is 200. For
example, I set it to 200 but the length of bits->chars is 250 (bits->nbBits
is 2000), is this right? If so, max_nchars gets 200 value because following
statement in speex_bits_write and the condition of if statement does not
achieve. (in my environment, BYTES_PER_CHAR=1, speex_nb_mode, 8 kHz, 15
kbps)
int max_nchars = max_nbytes/BYTES_PER_CHAR;
if (max_nchars > ((bits->nbBits+BITS_PER_CHAR-1)>>LOG2_B...
2010 Jan 13
1
column width in .dbf files using write.dbf ... to be continued
...message ("Is there a way to define
"manually" columns width when using write.dbf function from the library
foreign ?"), so I tried to modify write.dbf function to do what I want.
Here is my modified version :
write.dbfMODIF <- function (dataframe, file, factor2char = TRUE, max_nchar =
254, width = d)
{
allowed_classes <- c("logical", "integer", "numeric", "character",
"factor", "Date")
if (!is.data.frame(dataframe))
dataframe <- as.data.frame(dataframe)
if (any(sapply(dataframe, funct...
2006 Dec 11
0
A question about speex_bits_write function
...AME_BYTES);
>
> I examine the content of this function and which value should I set to
> MAX_FRAME_BYTE. In speexenc project, it is 2000 and in manual it is 200.
> For example, I set it to 200 but the length of bits->chars is 250
> (bits->nbBits is 2000), is this right? If so, max_nchars gets 200 value
> because following statement in speex_bits_write and the condition of if
> statement does not achieve. (in my environment, BYTES_PER_CHAR=1,
> speex_nb_mode, 8 kHz, 15 kbps)
>
> int max_nchars = max_nbytes/BYTES_PER_CHAR;
>
> if (max_nchars > ((bits->nb...
2008 Mar 29
0
GCC/ELF Visibility patch
...int i,pos;
int nchars = nbytes/BYTES_PER_CHAR;
@@ -185,7 +185,7 @@
bits->nbBits+=nchars<<LOG2_BITS_PER_CHAR;
}
-int speex_bits_write(SpeexBits *bits, char *chars, int max_nbytes)
+EXPORT int speex_bits_write(SpeexBits *bits, char *chars, int max_nbytes)
{
int i;
int max_nchars = max_nbytes/BYTES_PER_CHAR;
@@ -208,7 +208,7 @@
return max_nchars*BYTES_PER_CHAR;
}
-int speex_bits_write_whole_bytes(SpeexBits *bits, char *chars, int max_nbytes)
+EXPORT int speex_bits_write_whole_bytes(SpeexBits *bits, char *chars, int max_nbytes)
{
int max_nchars = max_nbytes/BYTE...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...int i,pos;
int nchars = nbytes/BYTES_PER_CHAR;
@@ -185,7 +185,7 @@
bits->nbBits+=nchars<<LOG2_BITS_PER_CHAR;
}
-int speex_bits_write(SpeexBits *bits, char *chars, int max_nbytes)
+EXPORT int speex_bits_write(SpeexBits *bits, char *chars, int max_nbytes)
{
int i;
int max_nchars = max_nbytes/BYTES_PER_CHAR;
@@ -208,7 +208,7 @@
return max_nchars*BYTES_PER_CHAR;
}
-int speex_bits_write_whole_bytes(SpeexBits *bits, char *chars, int max_nbytes)
+EXPORT int speex_bits_write_whole_bytes(SpeexBits *bits, char *chars, int max_nbytes)
{
int max_nchars = max_nbytes/BYTE...
2010 Mar 18
0
Errors compiling speex1.2-rc1 in Symbian 3th edition SDK
.....\libspeex\bits.c:199: ';' expected
..\libspeex\bits.c:200: a pointer/array type was expected for this operation instead of 'int'
..\libspeex\bits.c:201: a pointer/array type was expected for this operation instead of 'int'
..\libspeex\bits.c:203: undefined identifier 'max_nchars'
..\libspeex\bits.c:206: undefined identifier 'i'
..\libspeex\bits.c:206: undefined identifier 'i'
make[1]: *** [\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\Users\Maurizio\University\ProgettoInterdisciplinare\speex-1.2rc1\speex-1.2rc1\symbian\SPEEX\WINSCW\udeb\bits.o] Error...