Cerf
03-24-2005, 10:38 PM
hey,
I am trying to setup my server so that I can pipe some tunes over it.
After reading the man page for mpg321 I attemped to get some music playing, but I kept getting told that the device I was trying to use did not exist.
Therefore I tried
cat /dev/random >> /dev/dsp[0-4]
and I got something working on /dev/dsp4 but I still did not get any sound
when I tried useing mpg123 again:
root@loki:/home/cerf# mpg123 -a /dev/dsp4 -g 100 kaffee.mp3
No default libao driver available.
After doing some reading, I have determinded that libao is installed on my system
root@loki:/usr/lib# ls | grep libao
libao.la
libao.so
libao.so.2
libao.so.2.1.2
libaoss.la
libaoss.so
libaoss.so.0
libaoss.so.0.0.0
And I think that the libs that I need exist
root@loki:/usr/lib# ldd /usr/bin/mpg321
libid3tag.so.0 => /usr/lib/libid3tag.so.0 (0x4002c000)
libmad.so.0 => /usr/lib/libmad.so.0 (0x4003c000)
libz.so.1 => /usr/lib/libz.so.1 (0x40051000)
libao.so.2 => /usr/lib/libao.so.2 (0x40062000)
libdl.so.2 => /lib/libdl.so.2 (0x40068000)
libc.so.6 => /lib/libc.so.6 (0x4006b000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4019a000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
And it looks like that the libs that mpg123 want to use match this list
root@loki:/usr/lib# ldd /usr/bin/mpg123
libid3tag.so.0 => /usr/lib/libid3tag.so.0 (0x4002c000)
libmad.so.0 => /usr/lib/libmad.so.0 (0x4003c000)
libz.so.1 => /usr/lib/libz.so.1 (0x40051000)
libao.so.2 => /usr/lib/libao.so.2 (0x40062000)
libdl.so.2 => /lib/libdl.so.2 (0x40068000)
libc.so.6 => /lib/libc.so.6 (0x4006b000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4019a000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
So at this point I am confused, why would it not play music?
Thanks
Note: I am sure that the speakers are working, and I am sure that I am using the right jack on the computer
I am trying to setup my server so that I can pipe some tunes over it.
After reading the man page for mpg321 I attemped to get some music playing, but I kept getting told that the device I was trying to use did not exist.
Therefore I tried
cat /dev/random >> /dev/dsp[0-4]
and I got something working on /dev/dsp4 but I still did not get any sound
when I tried useing mpg123 again:
root@loki:/home/cerf# mpg123 -a /dev/dsp4 -g 100 kaffee.mp3
No default libao driver available.
After doing some reading, I have determinded that libao is installed on my system
root@loki:/usr/lib# ls | grep libao
libao.la
libao.so
libao.so.2
libao.so.2.1.2
libaoss.la
libaoss.so
libaoss.so.0
libaoss.so.0.0.0
And I think that the libs that I need exist
root@loki:/usr/lib# ldd /usr/bin/mpg321
libid3tag.so.0 => /usr/lib/libid3tag.so.0 (0x4002c000)
libmad.so.0 => /usr/lib/libmad.so.0 (0x4003c000)
libz.so.1 => /usr/lib/libz.so.1 (0x40051000)
libao.so.2 => /usr/lib/libao.so.2 (0x40062000)
libdl.so.2 => /lib/libdl.so.2 (0x40068000)
libc.so.6 => /lib/libc.so.6 (0x4006b000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4019a000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
And it looks like that the libs that mpg123 want to use match this list
root@loki:/usr/lib# ldd /usr/bin/mpg123
libid3tag.so.0 => /usr/lib/libid3tag.so.0 (0x4002c000)
libmad.so.0 => /usr/lib/libmad.so.0 (0x4003c000)
libz.so.1 => /usr/lib/libz.so.1 (0x40051000)
libao.so.2 => /usr/lib/libao.so.2 (0x40062000)
libdl.so.2 => /lib/libdl.so.2 (0x40068000)
libc.so.6 => /lib/libc.so.6 (0x4006b000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4019a000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
So at this point I am confused, why would it not play music?
Thanks
Note: I am sure that the speakers are working, and I am sure that I am using the right jack on the computer