Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLAYMP3 test program assertion fail when asked to play very small MP3 files #19

Open
joncampbell123 opened this issue Dec 31, 2016 · 2 comments
Assignees
Labels

Comments

@joncampbell123
Copy link
Owner

Asking PLAYMP3.EXE to play an MP3 file that is zero length or very small triggers an assertion failure when you start playing.

@joncampbell123 joncampbell123 self-assigned this Dec 31, 2016
@ghost
Copy link

ghost commented Feb 23, 2017

Confirmed that WAV (58 bytes) or MP3 (660 bytes) files cause the win32 and dos versions to freeze. Also, tested dos version against pc speaker and soundblaster emulation.

Used sndrec.exe to save an empty wav file and then converted to mp3 with ffmpeg:
ffmpeg.exe -i test1.wav -vn -ar 44100 -ac 2 -ab 192k -f mp3 test1.mp3

@ghost
Copy link

ghost commented Feb 24, 2017

Disregard the above, now the empty wav and mp3 files are both working in win32 and dos (dos386f version; 1-25-17). This time the wav file (80 bytes) was created by sox (v14.4.1):
./sox -n test.wav trim 0 0

And the mp3 file (803 bytes):
./ffmpeg -i test.wav -ab 128k -f mp3 test.mp3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant