PINE64
Delayed sound playback - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88)
+--- Thread: Delayed sound playback (/showthread.php?tid=6220)



Delayed sound playback - omkar.ppk@gmail.com - 06-28-2018

Hello,

For my project, I need to play mp3 file and obtain audio output on audio jack. The playback goes fine except that there is a half second delay before the audio starts. This matters because I am generating an alarm on speakers on certain event and half second delay is not permissible. The size of mp3 file is 560 KB and the length is 4 seconds.

The exact command is: 
Code:
mpg123 abc.mp3


I am new to linux and I am not able to figure out what is going wrong. I have tried loads of variations of the same command with reference from mpg123 man page.

Kindly provide few suggestions.
Thanks in advance!