![]() ![]() This is precisely what vsound does, using a trick called LD_PRELOAD. By redirecting /dev/dsp away from the sound card one can record the byte stream generated by any program. The OSS part of the Linux kernel provides the special file /dev/dsp to let programs access the sound card sounds are generated by writing to /dev/dsp. Want your program to talk to a terminal? Just have it read/write from a special file. One of the deep abstractions underlying UNIX and the operating systems it influenced, including GNU/Linux, is that everything should be a file. ![]() It uses sox to convert and save the raw data into the desired file format and can help to convert real audio files to some other non-proprietary format. ![]() This program allows you to record the output of any standard OSS program (one that uses /dev/dsp for sound) without having to modify or recompile the program. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |