Use Mplayer To Play Audio In An Infinite Loop
Join the DZone community and get the full member experience.Join For Free
The loop switch with value 0 in the example below tells mplayer to play brown_noise_1hour.ogg in an infinite loop:
mplayer -loop 0 brown_noise_1hour.ogg
Opinions expressed by DZone contributors are their own.