⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 todo

📁 Windows NT声卡驱动VXD
💻
字号:
Planned for 0.2.9:==================* some data is required for each protocol handler or Bad Things Happen.  In the immortal words of John Parker, "So what, big deal."* factor out monitor_write internals, and recorder_write, and filter_write  into a write_player, and conditionally swap data on those writes.* function pointers in mix.c for mix_in (add) and translate (copy):  mix_funcs[MAX] = { mix_to_format, mix_from_format, clip_format, ... };  set function when creating player. update if a filter is added or removed* volume control (setting of left/right volume) on samples and streams  modify clients volume or mute so that client can kill it.. etc..   so in effect an audio manager could be written  play_sample_pan( int sample_id, int left_volume, int right_volume );  * get rid of hard coded 44100's in esdlib.c* make all protocols return an int indicating success/failure at a minimum  NOTE: this will break protocol!* change audio device with esdctl??? on the fly???* esd_rename_stream( int stream_id, char *name ); ???* reorganize source files into esdlib, esd, utils subdirectories. ???* support 8 bit u-law format output data ???Planned for later:================== make the reading/mixingprocess a separate thread from the client protocol parsing thread.command line parameter for the server's fragment valuekill_sample( int sample_id );One other nice feature of the BeOS streaming model is that you canchoose where your application should be positioned in the stream(beginning | end | don't care).  Could be done with some extraparameters to esd_play_stream()..?  add a queue of requests to thesample clients, and watch for kills?mmap the data into the sound card? -- Linux only[raster!raster@trode.redhat.com] actuyally dump like 1k or whatever -tell soundcard to start at the first 1kb - while readihg this (thesoundcard) write the 2nd kb - then the 3rd etc... just have to keep instep with the card and a little ahead of it... but only just enough tominimize lag.it's also rather fiddly wiht cpu usage spikes.. play sample, loop sample, end sample:int play_tri_sample( start, loop, end ) {         play(start); loop(loop); return end;}later: int finish_tri_sample( end ) { play(end); return ?;}allow a "volume envelope"sample to be paired witht the sample optionally - perhaps at a lowersampling rate and maybe 8 or 4 bits.. this sould in addition to "set lrvolume for smapl/stream now" functions... :)so that would be something like (format determined by sample uploaded):modulate_sample( int play_sample, int modulation_sample );allow server to run mono.pitch adjust on samples?playback samples at different rates?

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -