1 May 03:01
being serious about the NG of zinf
Ed Sweetman <ed.sweetman <at> wmich.edu>
2003-05-01 01:01:24 GMT
2003-05-01 01:01:24 GMT
As is known, i'm working on a complete rewrite of zinf. Why, how would this still be zinf if it's a complete rewrite and the current zinf has no documented specs? Well, it would be zinf by not just looking like zinf but succeeding in the goals that zinf has wanted to succeed in. This would be internet streaming, audio data management, low system footprint, and extendability. I'm always looking for more people who want to help work on and give input on this while it's still feasible to change the framework of things. I'm talking about programming input, ideas of what datatypes should be used for what and what ways to code for this or that. That would be really helpful. Right now I'm opposed to using threads for the main player. Threads could possibly be used in the situation where we're streaming or playing from the internet. This is because of a couple reasons. We could have a large output buffer which may make reading from the stream be in longer intervals than ip allows for timeouts, thus losing our connection. Also, for streams, we may miss packets during our requests for more data. The only other time we need to think about threads is when adding files. But this is an easy one, and an example that illustrates the objective nature of the new player. I'll explain. After making our selection we update the playlist with all the new filenames (if we selected files) and leave other data elements blank. We then create a thread and then move on to whatever the player is doing. In that thread (if we selected a directory or directories we scan them and create a vector of strings containing all the files with types we can use) we construct an addfile object that is sent a vector of strings which refer to the name of every file we want to add upon construction and a pointer to the playlist. The playlist is just a map with the key being the filename and the value being a(Continue reading)
RSS Feed