forked from Lainports/freebsd-ports
FLAC) to MP3 on the fly when opened and read. This was written to enable me to use my FLAC collection with software and/or hardware which only understands the MP3 format e.g. gmediaserver to a Netgear MP101 MP3 player. It is also a novel alternative to traditional MP3 encoders. Just use your favorite file browser to select the files you want encoded and copy them somewhere! WWW: https://github.com/khenriks/mp3fs PR: ports/165337 Submitted by: Stefan Rumetshofer
12 lines
368 B
C
12 lines
368 B
C
--- src/mp3fs.c 2012-02-18 20:55:29.000000000 +0100
|
|
+++ src/mp3fs.c 2012-02-17 21:06:13.000000000 +0100
|
|
@@ -38,6 +38,9 @@
|
|
|
|
#include "transcode.h"
|
|
|
|
+#define S_ISLNK(m) (((m) & 0170000) == 0120000) /* symbolic link */
|
|
+#define S_ISSOCK(m) (((m) & 0170000) == 0140000)
|
|
+
|
|
struct mp3fs_params params = {
|
|
.basepath = NULL,
|
|
.bitrate = 128,
|