Ticket #21 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

problem with playing narrowband speex files

Reported by: kickback Assigned to: kickback
Priority: normal Milestone:
Component: sweep Version:
Severity: normal Keywords: speex narrowband
Cc:

Description

excerpt from an emailed bug report from Bertie Coopersmith =======================

I have a problem with playing narrowband speex files (8-bit unsigned samples at 8KHz, mono) with sweep.

The same files play perfectly well under speexdec.

On commanding sweep with a speex argument, however, it only sometimes reports a sampling rate of 8000Hz - and then it plays correctly. However, it randomly reports the rate as 16KHz, 32KHz or even 64KHz instead of 8000Hz and it accordingly attempts to play at double, quadruple speed etc. Attempting resampling usually fails so when a rate other than 8000Hz is displayed in the sweep window I immediately (i.e. before loading completes) abort and rerun.

Re-installing the latest libsamplerate library did not quite fix the problem but I think It now comes up with the correct 8000Hz most of the time.

I think that this is a bug affecting only narrowband speex files, not 8KHz wave files.

Details of my system: i686 Slackware Linux 2.4.22 gcc 3.2.3 sweep-0.8.3, now also 0.9.0

In November last year I installed sweep-0.8.3 on a Dell laptop: Centrino, Linux 2.4.31 with ALSA and it did not seem to suffer this problem.

Change History

02/06/06 01:07:23 changed by kickback

i can't seem to reproduce this at the moment. i've emailed Bertie Coopersmith to request one of the problem files.

02/19/06 06:54:14 changed by kickback

  • status changed from new to closed.
  • resolution set to fixed.

fixed in changeset:360

uninitialised var "rate" was checked and updated only if it was empty. i initialised it with -1 and updated the check accordingly.