Search completed in 0.94 seconds.
5 results for "sample2":
Index
m illustrates password handling. 179 nss sample code sample_3_basic encryption and macing examples, nss, security this example program demonstrates how to encrypt and mac a file. 180 nss sample code utilities_1 examples, nss, security this is a library of utilities used by many of the samples. ...
...it works by inserting a special set of entry points betw...
Introducing the Audio API extension - Archive of obsolete content
buffer: framebuffer (i.e., an array) containing decoded audio sample data (i.e., floats) time: timestamp for these samples measured from the start in seconds the framebuffer contains an array of audio samples. it's important to note that the samples are not separated by channels; they are all delivered together. for example, for a two-channel signal: channel1-sample1 channel2-sample1 channel1-
sample2 channel2-
sample2 channel1-sample3 channel2-sample3. we can extend the previous example to visualize the timestamp and the first two samples in a <div> element: <!doctype html> <html> <head> <title>javascript visualization example</title> </head> <body> <audio id="audio-element" src="revolve.ogg" controls="true" style="width: 512px;"> </audio> ...
Modularization techniques - Archive of obsolete content
null, kisampleiid, (void **) &sample); if (res == ns_ok) { sample->hello(); ns_release(sample); } return 0; } registering a dll this is currently being hashed out. you can currently manually register a dll using the nsrepository's registerfactory() method (for an example of this, see ns
sample2.cpp). a dll can export two additional functions for self registration and unregistration. extern "c" ns_export nsresult nsregisterself(const char *path); extern "c" ns_export nsresult nsunregisterself(const char *path); this allows a dll to register and unregister all its factories. a simple program called regfactory.exe (on windows) or regfactory (on unix) can be used to register self-regist...