Geht das irgendwie?
Würde gerne die Boxen die an meiner Diskstation auch vom iPhone bespielen können (bspw. mit Spotify!).
Hallo Yasmin, Download as zip Download as tar.gz ? Gruß Joanscheinend gibt's eine Version 1.3 im GitHub aber der Link ist tot.
hi, gibt es zu diesem Thema Neuigkeiten? Wäre sehr interessiert...
/usr/syno/etc/rc.d/S99avahi.sh stop
/opt/sbin/avahi-daemon &
/opt/etc/init.d/S20dbus stop
rm /opt/var/run/dbus/pid
/opt/etc/init.d/S20dbus start
./shairport -b 512 -o 6002 --ao_driver=oss --ao_devicename=/dev/dsp4
beschrieben. Ich habe zwar die beschriebene Stelle im Code gefunden und damit experimentiert, aber es hat nichts gebracht.It shairport still complains about not being able to open the device, the problem might be that have an older version of libao. You then need to edit shairport’s hairtunes.c and modify one of the calls to ao_append_option() so that the –ao_devicename option is applied using the key “dsp”, rather than “dev”.
gcc -std=gnu99 -I/opt/include -L/lib -L/opt/lib -lpthread -lm -ldl -O2 -Wall -I/opt/include -DHAIRTUNES_STANDALONE hairtunes.c alac.o -o hairtunes -L/opt/lib -lssl -lcrypto -ldl -lao
/volume1/@optware/bin/../lib/gcc/powerpc-linux-gnuspe/3.4.6/../../../../powerpc-linux-gnuspe/lib/libpthread.so: undefined reference to `__on_exit@GLIBC_PRIVATE'
/volume1/@optware/bin/../lib/gcc/powerpc-linux-gnuspe/3.4.6/../../../../powerpc-linux-gnuspe/lib/libm.so: undefined reference to `__adddf3@GLIBC_2.3.3'
/volume1/@optware/bin/../lib/gcc/powerpc-linux-gnuspe/3.4.6/../../../../powerpc-linux-gnuspe/lib/libm.so: undefined reference to `__muldf3@GLIBC_2.3.3'
/volume1/@optware/bin/../lib/gcc/powerpc-linux-gnuspe/3.4.6/../../../../powerpc-linux-gnuspe/lib/libdl.so: undefined reference to `_dl_open@GLIBC_PRIVATE'
/volume1/@optware/bin/../lib/gcc/powerpc-linux-gnuspe/3.4.6/../../../../powerpc-linux-gnuspe/lib/libdl.so: undefined reference to `_dl_close@GLIBC_PRIVATE'
/volume1/@optware/bin/../lib/gcc/powerpc-linux-gnuspe/3.4.6/../../../../powerpc-linux-gnuspe/lib/libpthread.so: undefined reference to `__librt_multiple_threads@GLIBC_PRIVATE'
/volume1/@optware/bin/../lib/gcc/powerpc-linux-gnuspe/3.4.6/../../../../powerpc-linux-gnuspe/lib/libpthread.so: undefined reference to `_errno@GLIBC_2.0'
/volume1/@optware/bin/../lib/gcc/powerpc-linux-gnuspe/3.4.6/../../../../powerpc-linux-gnuspe/lib/libm.so: undefined reference to `__fixunsdfsi@GLIBC_2.3.3'
/volume1/@optware/bin/../lib/gcc/powerpc-linux-gnuspe/3.4.6/../../../../powerpc-linux-gnuspe/lib/libm.so: undefined reference to `__floatsidf@GLIBC_2.3.3'
/volume1/@optware/bin/../lib/gcc/powerpc-linux-gnuspe/3.4.6/../../../../powerpc-linux-gnuspe/lib/libm.so: undefined reference to `__extendsfdf2@GLIBC_2.3.3'
/volume1/@optware/bin/../lib/gcc/powerpc-linux-gnuspe/3.4.6/../../../../powerpc-linux-gnuspe/lib/libm.so: undefined reference to `__subdf3@GLIBC_2.3.3'
/volume1/@optware/bin/../lib/gcc/powerpc-linux-gnuspe/3.4.6/../../../../powerpc-linux-gnuspe/lib/libpthread.so: undefined reference to `__libc_sigaction@GLIBC_PRIVATE'
/volume1/@optware/bin/../lib/gcc/powerpc-linux-gnuspe/3.4.6/../../../../powerpc-linux-gnuspe/lib/libpthread.so: undefined reference to `_h_errno@GLIBC_2.0'
FATAL: Could not find requested ao driver
ByteStation> cd /opt/lib
ByteStation> ls -al libao*
-rwxr-xr-x 1 root root 908 Oct 10 23:02 libao.la
lrwxrwxrwx 1 root root 14 Oct 10 23:02 libao.so -> libao.so.4.0.0
lrwxrwxrwx 1 root root 14 Oct 10 23:02 libao.so.4 -> libao.so.4.0.0
-rwxr-xr-x 1 root root 36646 Oct 10 23:02 libao.so.4.0.0
ByteStation> cd ao/plugins-4/
ByteStation> ls -al
total 52
drwxr-xr-x 2 root root 4096 Oct 10 23:02 .
drwxr-xr-x 3 root root 4096 Oct 10 23:02 ..
-rwxr-xr-x 1 root root 917 Oct 10 23:02 liboss.la
-rwxr-xr-x 1 root root 38161 Oct 10 23:02 liboss.so
char *tAoDriver = NULL;
char *tAoDeviceName = NULL;
char *tAoDriver = "oss";
char *tAoDeviceName = "/dev/dsp4";
ByteStation> cd /proc/asound/
ByteStation> ls
Device card0 cards devices hwdep modules oss pcm seq syno_audio_volume timers version
ByteStation> cat cards
0 [Device ]: USB-Audio - USB PnP Sound Device
C-Media Electronics Inc. USB PnP Sound Device at usb-0002:05:00.0-3, full
CC:=gcc
char tAoDriver[56] = "";
char tAoDeviceName[56] = "";
char tAoDeviceId[56] = "";
char *tAoDriver = NULL;
char *tAoDeviceName = NULL;
char *tAoDeviceId = NULL;
else if(!strncmp(arg, "--ao_driver=",12 ))
{
tAoDriver = malloc(56);
strncpy(tAoDriver, arg+12, 55);
}
else if(!strncmp(arg, "--ao_devicename=",16 ))
{
tAoDeviceName = malloc(56);
strncpy(tAoDeviceName, arg+16, 55);
}
else if(!strncmp(arg, "--ao_deviceid=",14 ))
{
tAoDeviceId = malloc(56);
strncpy(tAoDeviceId, arg+14, 55);
}
Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.
Als Dankeschön schalten wir deinen Account werbefrei.