I'm running mpg321 with remote interface. Every time I load new song via L <filename>, new descriptor is opened and the previous left open causing "too many open files" error eventually.
I corrected this with adding "close(fd); fd=0;" after munmap() in mpg321.c, but I'm not sure, whether it is currect way how to do it. Nevertheless it works :)
Log in to post a comment.