I was trying to stream mp3 music through gnuradio using vlc and mpg123 player. Following this site's example http://www.opendigitalradio.org/Simple_FM_transmitter_using_gnuradio
The commands are:
$ mkfifo stream_32k.fifo
$ mpg123 -r32000 -m -s http://maxxima.mine.nu:8000 >stream_32k.fifo
Using my own mp3 stream, I followed the example, however there was one time I FORGOT to put
$ mkfifo stream_32k.fifo
to the terminal and instead only typed
$ mpg123 -r32000 -m -s http://localhost:8080/mp3 >stream_32k.fifo
directly to the terminal. The result was a .fifo file that is not highlighted (like the one created with mkfifo)
When using it with gnuradio, the fifo file made with mkfifo could only be played once and its size would always return back to 0 bytes.
While the one I accidentally created without using mkfifo kept the bytes for a long time and i could access it anytime i wanted which proved more beneficial to me.
Is there a disadvantage in making fifos this way? Also can somebody please tell me what I actually did?
Thank you so much!