search for: set_info

Displaying 20 results from an estimated 25 matches for "set_info".

Did you mean: get_info
2007 Aug 20
0
3 commits - libswfdec/swfdec_as_context.c test/trace
...,0 +1,147 @@ +// doesn't work right in Flash 5 + +function new_empty_object () { + var hash = new Object (); + ASSetPropFlags (hash, null, 0, 7); + for (var prop in hash) { + delete hash[prop]; + } + return hash; +} + +function new_info () { + return new_empty_object (); +} + +function set_info (info, prop, id, value) { + info[prop + "_-_" + id] = value; +} + +function get_info (info, prop, id) { + return info[prop + "_-_" + id]; +} + +// print all properties of a given object, flags are: +// h = hidden +// p = permanent +// P = permanent even without propflag +// c...
2007 Aug 21
0
2 commits - test/trace
...+ return true; + + if (o == _global.Microphone && prop == "names") + return true; + + return false; +} + +function trace_properties_recurse (o, level, nextSecretId) +{ + // to collect info about different properties var info = new_info (); - for (var prop in o) { - set_info (info, prop, "hidden", false); + + // calculate prefix + var prefix = ""; + for (var j = 0; j < level; j++) { + prefix = prefix + " "; } - var hidden = new Array (); + // mark the ones that are not hidden + for (var prop in o) + { + // only get th...
2004 Sep 10
2
getting framesize in client
...ecoder *decoder_ = 0; static file_info_struct file_info_; @@ -188,7 +193,6 @@ void FLAC_XMMS__play_file(char *filename) { FILE *f; - gchar *ret; wide_samples_in_reservoir_ = 0; audio_error_ = false; @@ -219,10 +223,8 @@ return; } - ret = flac_format_song_title(filename); - flac_ip.set_info(ret, file_info_.length_in_msec, file_info_.sample_rate * file_info_.channels * file_info_.bits_per_sample, file_info_.sample_rate, file_info_.channels); - - g_free(ret); + file_info_.title = flac_format_song_title(filename); + flac_ip.set_info(file_info_.title, file_info_.length_in_msec, file_info_...
2004 Sep 10
0
getting framesize in client
...ecoder *decoder_ = 0; static file_info_struct file_info_; @@ -188,7 +193,6 @@ void FLAC_XMMS__play_file(char *filename) { FILE *f; - gchar *ret; wide_samples_in_reservoir_ = 0; audio_error_ = false; @@ -219,10 +223,8 @@ return; } - ret = flac_format_song_title(filename); - flac_ip.set_info(ret, file_info_.length_in_msec, file_info_.sample_rate * file_info_.channels * file_info_.bits_per_sample, file_info_.sample_rate, file_info_.channels); - - g_free(ret); + file_info_.title = flac_format_song_title(filename); + flac_ip.set_info(file_info_.title, file_info_.length_in_msec, file_info_...
1999 Oct 11
2
XMMS plugin patch
...-- vorbis.c.orig Mon Oct 11 04:05:14 1999 +++ vorbis.c Mon Oct 11 13:47:42 1999 @@ -161,7 +161,7 @@ /* XXX figure out something to put for the bitrate and how to calculate the length of the stream */ vorbis_ip.output->open_audio(FMT_S16_LE, od.vi.rate, od.vi.channels); - vorbis_ip.set_info(filename, 128000, 0, od.vi.rate, od.vi.channels); + vorbis_ip.set_info(filename, -1, 128000, od.vi.rate, od.vi.channels); while(i < 2) { while(i < 2 && ogg_sync_pageout(&od.oy, &od.og) == 1) { @@ -219,9 +219,11 @@ vorbis_synthesis(&od.vb, &am...
2004 Sep 10
3
getting framesize in client
On Fri, Nov 08, 2002 at 12:39:52PM -0800, Josh Coalson wrote: > --- Miroslav Lichvar <lichvarm@phoenix.inf.upol.cz> wrote: > > I have few notes: > > > > It seems there is changed API in CVS again. So, what about adding > > function like > > unsigned FLAC__format_frame_size(const FLAC__Frame *frame) > > which returns size of the frame in bytes. This
2007 Aug 22
0
3 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_function.c test/trace
...unction generate_names (o, prefix, identifier) { - var info = new_info (); - // mark the ones that are not hidden - for (var prop in o) - { - // only get the ones that are not only in the __proto__ - if (is_blaclisted (o, prop) == false) { - if (hasOwnProperty (o, prop) == true) - set_info (info, prop, "hidden", false); - } + var nothidden = new Array (); + for (var prop in o) { + nothidden.push (prop); } // unhide everything ASSetPropFlags (o, null, 0, 1); var all = new Array (); - var hidden = new Array (); for (var prop in o) { - // only...
2016 Mar 25
0
Setting FS Quota against SAMBA share from windows2k12
...gt; STATUS_ACCESS_DENIED. > > The server MUST apply the information requested to the underlying object > store.<359> If the underlying object store returns an error, the server > MUST fail the request with the error code received. Otherwise, the server > MUST initialize an SMB2 SET_INFO Response following the syntax given in > section 2.2.40. The response MUST then be sent to the client. > > --Partha > >
2004 Sep 10
0
getting framesize in client
...C % BITRATE_HIST_SIZE; - if(bh_index_o != bh_index_last_o && bh_index_last_w != bh_index_o) { + if(bh_index_o != bh_index_last_o && bh_index_o != bh_index_last_w && bh_index_o != (bh_index_last_w + 1) % BITRATE_HIST_SIZE) { bh_index_last_o = bh_index_o; flac_ip.set_info(file_info_.title, file_info_.length_in_msec, bitrate_history_[bh_index_o], file_info_.sample_rate, file_info_.channels); }
2004 Aug 06
0
[PATCH] speex-xmms endian problems fixed
...those involved in writing speex, giving the talks, and recording and encoding the talks! Most entertaining! Ben Stanley. <p> --- speex-xmms-0.8/libspeex.c Mon Sep 23 06:28:37 2002 +++ speex-xmms-0.8-works/libspeex.c Thu Apr 17 12:41:12 2003 @@ -328,7 +328,7 @@ speex_ip.set_info(speex_fs->title, speex_fs->length, -1, speex_fs->freq, speex_fs->channels); - if (speex_ip.output->open_audio(FMT_S16_LE, speex_fs->freq, speex_fs->channels) == 0) + if (speex_ip.output->open_audio(FMT_S16_NE, speex_fs->freq, speex_fs->channels) ==...
2004 Sep 10
2
getting framesize in client
--- Miroslav Lichvar <lichvarm@phoenix.inf.upol.cz> wrote: > On Sat, Nov 09, 2002 at 06:02:33PM +0100, Miroslav Lichvar wrote: > > On Fri, Nov 08, 2002 at 07:12:35PM -0800, Josh Coalson wrote: > > > Yeah, it's useful, so now there is a > > > FLAC__seekable_stream_decoder_get_decode_position() and > > > FLAC__file_decoder_get_decode_position(). I
2013 Jun 09
1
v2.2.2 (266101990d63) Core Dump
...0x00007f305d6c4b7e in mail_storage_create (ns=ns at entry=0x12673f0, driver=driver at entry=0x7f305d7263a4 "raw", flags=flags at entry=0, error_r=error_r at entry=0x7fff92c0d338) at mail-storage.c:407 storage = 0x7f305dd87a38 #5 0x00007f305d6bd605 in raw_storage_create_from_set (set_info=<optimized out>, set=<optimized out>) at raw-storage.c:48 user = 0x126d7f0 ns = 0x12673f0 ns_set = 0x126f2e0 mail_set = <optimized out> error = 0x0 #6 0x0000000000405762 in client_raw_user_create (client=<optimized out>) at client.c:1...
2016 Mar 30
0
Fwd: Fwd: Setting FS Quota against SAMBA share from windows2k12
...e information requested to the underlying > object > > > > store.<359> If the underlying object store returns an error, the > server > > > > MUST fail the request with the error code received. Otherwise, the > server > > > > MUST initialize an SMB2 SET_INFO Response following the syntax given > in > > > > section 2.2.40. The response MUST then be sent to the client. > > > > > > > > --Partha > > > > > > > > > > > > > > > > > > -- > > Thanks & Regards...
2007 Aug 20
0
Branch 'vivi' - 60 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_interpret.c
...,0 +1,147 @@ +// doesn't work right in Flash 5 + +function new_empty_object () { + var hash = new Object (); + ASSetPropFlags (hash, null, 0, 7); + for (var prop in hash) { + delete hash[prop]; + } + return hash; +} + +function new_info () { + return new_empty_object (); +} + +function set_info (info, prop, id, value) { + info[prop + "_-_" + id] = value; +} + +function get_info (info, prop, id) { + return info[prop + "_-_" + id]; +} + +// print all properties of a given object, flags are: +// h = hidden +// p = permanent +// P = permanent even without propflag +// c...
2007 Aug 15
3
2 commits - libswfdec/swfdec_as_object.c test/trace
libswfdec/swfdec_as_object.c | 62 +++++++++++++++------- test/trace/Makefile.am | 9 +++ test/trace/addProperty-set-prototypes-5.swf |binary test/trace/addProperty-set-prototypes-5.swf.trace | 4 + test/trace/addProperty-set-prototypes-6.swf |binary test/trace/addProperty-set-prototypes-6.swf.trace | 5 +
2002 May 07
0
Re: SAMBA compile errors at XFS kernel.. (fwd)
...dq_curinodes dq_dqb.dqb_curinodes #define dq_isoftlimit dq_dqb.dqb_isoftlimit #define dq_ihardlimit dq_dqb.dqb_ihardlimit #define dq_bsoftlimit dq_dqb.dqb_bsoftlimit #define dq_bhardlimit dq_dqb.dqb_bhardlimit #define dq_itime dq_dqb.dqb_itime #define dq_btime dq_dqb.dqb_btime /* * Flags used for set_info */ #define ISET_GRACE 0x01 #define ISET_FLAGS 0x02 #define ISET_ALL 0x03 #define QUOTA_OK 0 #define NO_QUOTA 1 typedef char *dqbuf_t; #else # /* nodep */ include <sys/cdefs.h> __BEGIN_DECLS long quotactl __P ((int, const char *, qid_t, __kernel_caddr_t)); __END_DECLS...
2009 Jul 22
8
[PATCH 0/7] OCFS2 quota fixes (version 2)
Hi, here is the second version of OCFS2 quota fixes with Joel's comments fixed. Also I've added a patch defining counts of credits for quota operations as Joel asked. Honza
2013 Jan 08
13
[PATCH 00/12] VMCI for Linux upstreaming
* * * This series of VMCI linux upstreaming patches include latest udpate from VMware to address Greg's and all other's code review comments. Summary of changes: - Rebase our linux kernel tree from v3.5 to v3.7. - Fix all checkpatch warnings and errors. Fix some checkpatch with -strict errors. This addresses Greg's comment: On 15 Nov 2012
2013 Jan 08
13
[PATCH 00/12] VMCI for Linux upstreaming
* * * This series of VMCI linux upstreaming patches include latest udpate from VMware to address Greg's and all other's code review comments. Summary of changes: - Rebase our linux kernel tree from v3.5 to v3.7. - Fix all checkpatch warnings and errors. Fix some checkpatch with -strict errors. This addresses Greg's comment: On 15 Nov 2012
2012 Oct 16
11
[PATCH 00/10] VMCI for Linux upstreaming
* * * In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication Interface (vmw_vmci) and VMCI Sockets (vmw_vsock) kernel modules for inclusion in the Linux kernel. The purpose of this post is to acquire feedback on the vmw_vmci kernel module. The vmw_vsock kernel module will be presented in a later