Hi,

Does anybody get streaming audio working on Assabet /
Neponset?  

I got this again and again:

mpg123: Can't rewind stream by 347 bits!

or

Illegal Audio-MPEG-Header 0xce198a68 at offset
0xfffffffb.
Skipped 57794 bytes in input.
Illegal Audio-MPEG-Header 0xa2aa4aaa at offset
0xfffffffb.
Skipped 30713 bytes in input.


First, I configured Assabet kernel to support sound. 
I could run "splay test.mp3" from the "kitchen sink
ramdisk".  This is good.

Second, I set up a icecast + shout station and used
RealPlayer in Windows to verify that this station was
working.  This is also good.

Then, I set up a streaming client on Assabet +
Neponset.


> mpg123 http://mystation:8000/           

High Performance MPEG 1.0 Audio Player for Layer 1,2
and 3. ..
Version 0.58 (97/04/10). Written and copyrights by
Michael Hipp.
Uses code from various people. See 'README' for more!

Playing MPEG stream from http://mystation:8000/ ...
Layer: III, Freq: 44100, mode: Joint-Stereo, modext:
2, BPF: 418
chan: 2, copyright: Yes, original: Yes, CRC: No,
emphasis: 0.
Bitrate: 128 Kbits/s, Extension value: 0
mpg123: Can't rewind stream by 347 bits!


The mpg123 comes by compiling the code from
mpg123-0_59r-arm32_tar.gz  at
ftp://ftp.handhelds.org/pub/apps/sound/.

I modified the makefile (note that audio_oss is
chosen).

linux-arm:
        $(MAKE) OBJECTS='decode.o dct64.o audio_oss.o' \
       
CC=/opt/hardhat/devkit/arm/sa110_le/bin/sa110_le-gcc \
        LDFLAGS='-L/opt/hardhat/devkit/arm/sa110_le/lib/' \
        CFLAGS='-DLINUX -Wall -g \
                -DREAD_MMAP -DOSS -funroll-all-loops \
                -finline-functions -ffast-math \
        
-I/opt/hardhat/devkit/arm/sa110_le/armv4l-hardhat-linux/include/'
\
        mpg123-make


The icecast server did get the client (so they must be
communicating) but mpg123 did not work.  I also tried
freeamp and xaudio but they did not work, either.  Is
there a good binary mpg123 I can ftp? 

Can anybody share the experience to make streaming
audio work?  Thanks a lot!


=====
Robert Lee
Software Engineer

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to