search for: max_nchars

Displaying 8 results from an estimated 8 matches for "max_nchars".

Did you mean: max_chars
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
Hello Arnaud, You posted this question a long long time ago, however I found your answer so I decided to post it anyway in case somebody else have the same problem as you and me. You were actually very close in finding your solution. The function DoWritedbf is an internal function from the foreign package. To access it outside of the package just do: foreign:::DoWritedbf so in your line:
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_BI...
2010 Jan 13
1
column width in .dbf files using write.dbf ... to be continued
Dear UseRs, I did not have any answer to my previous 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) {
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->nbB...
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/BYTES...
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/BYTES...
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 2...