search for: gcnew

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

Did you mean: g_new
2007 Nov 20
0
speex_bits_write / speex_bits_read_from - getting Static
...(m_encoderState, inputptr, m_bits); char outputFrame[SPEEX_MAX_ENCODE_SIZE_PER_FRAME]; free(inputptr); unsigned int numBytes = speex_bits_write(m_bits, outputFrame, SPEEX_MAX_ENCODE_SIZE_PER_FRAME); //begin lazy man's conversion to Managed C++ array<Byte>^ output = gcnew array<Byte>(numBytes); for(i = 0; i< numBytes; i++) output[i] = (unsigned char)outputFrame[i]; //end lazy man's conversion return output; } //Public function -- m_decoderState is a void* member, m_bits is a SpeexBits* member array<short>^ SpeexDecoder::De...
2006 Aug 06
2
Speex + Ogg package
...t(&os,&op)>0) { int b; ogg_stream_pagein(&os, &audio_page); int len=(audio_page.body_len-4)/FRAMES_PACKET; char *datos=(char*)op.packet; char m[100]; sprintf(m,"paq %d",op.packetno); System::Console::WriteLine(gcnew String(m)); int t=((int *)datos)[0]; for(int i=0;i<FRAMES_PACKET;i++) speex_jitter_put(&jitter,(datos+4)+len*i,len,t+FRAME_SIZE*i); } } -- http://www.apple.com A veces me da por ahi. Otras como que no. -------------- next part -------------- An HTML attach...
2006 Aug 06
0
Speex + Ogg package
...int b; > ogg_stream_pagein(&os, &audio_page); > int len=(audio_page.body_len-4)/FRAMES_PACKET; > > char *datos=(char*)op.packet; > char m[100]; > sprintf(m,"paq %d", op.packetno); > System::Console::WriteLine(gcnew String(m)); > > int t=((int *)datos)[0]; > for(int i=0;i<FRAMES_PACKET;i++) > speex_jitter_put(&jitter,(datos+4)+len*i,len,t > +FRAME_SIZE*i); > } > } > > > -- > http://www.apple.com > A veces me da por ahi. Otras como...
2006 Aug 06
2
Speex + Ogg package
...ream_pagein(&os, &audio_page); > > int len=(audio_page.body_len-4)/FRAMES_PACKET; > > > > char *datos=(char*)op.packet; > > char m[100]; > > sprintf(m,"paq %d", op.packetno); > > System::Console::WriteLine(gcnew String(m)); > > > > int t=((int *)datos)[0]; > > for(int i=0;i<FRAMES_PACKET;i++) > > speex_jitter_put(&jitter,(datos+4)+len*i,len,t > > +FRAME_SIZE*i); > > } > > } > > > > > > -- > > http://www...
2013 Jan 18
6
[PATCH v1 01/02] HVM firmware passthrough libxl support
This patch introduces support for two new parameters in libxl: smbios_firmware=<path_to_smbios_structures_file> acpi_firmware=<path_to_acpi_tables_file> The changes are primarily in the domain building code where the firmware files are read and passed to libxc for loading into the new guest. After the domain building call to libxc, the addresses for the loaded blobs are returned and
2012 May 17
8
[PATCH] libxl: do not overwrite user supplied config when running bootloader
...er(libxl_ctx *ctx, - libxl_domain_build_info *info, - libxl_device_disk *disk, - uint32_t domid, - libxl_asyncop_how *ao_how) -{ - AO_CREATE(ctx,domid,ao_how); - libxl__bootloader_state *bl; - - GCNEW(bl); - bl->ao = ao; - bl->callback = run_bootloader_done; - bl->info = info; - bl->disk = disk; - bl->domid = domid; - libxl__bootloader_run(egc, bl); - return AO_INPROGRESS; -} - /* * Local variables: * mode: C diff -r ac45608496cd -r cdb947baea10 tools/lib...
2013 Oct 21
36
[PATCH 0 of 5 V3] Remus/Libxl: Network buffering support
This patch series adds support for network buffering in the Remus codebase in libxl. Changes in V3: [1/5] Fix redundant checks in configure scripts (based on Ian Campbell''s suggestions) [2/5] Introduce locking in the script, during IFB setup. Add xenstore paths used by netbuf scripts to xenstore-paths.markdown [3/5] Hotplug scripts setup/teardown invocations are now
2012 Sep 27
18
[PATCH 09/11] add iomem support to libxl
This patch adds a new option for xen config files for directly mapping hardware io memory into a vm. Signed-off-by: Matthew Fioravante <matthew.fioravante@jhuapl.edu> diff --git a/docs/man/xl.cfg.pod.5 b/docs/man/xl.cfg.pod.5 index 013270d..428da21 100644 --- a/docs/man/xl.cfg.pod.5 +++ b/docs/man/xl.cfg.pod.5 @@ -496,6 +496,17 @@ is given in hexadecimal and may either a span e.g.