DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Use Mplayer To Play Audio In An Infinite Loop

  • submit to reddit
        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