Debian Bug report logs - #515259
libvorbisidec1: please consider compiling ivorbisfile_example.c

version graph

Package: libvorbisidec1; Maintainer for libvorbisidec1 is Daniel Kahn Gillmor <dkg@fifthhorseman.net>; Source for libvorbisidec1 is src:libvorbisidec.

Reported by: Timo Juhani Lindfors <timo.lindfors@iki.fi>

Date: Sun, 15 Feb 2009 12:00:02 UTC

Severity: wishlist

Tags: wontfix

Found in version libvorbisidec/1.0.2+svn14261-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, pkg-fso-maint@lists.alioth.debian.org, Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>:
Bug#515259; Package libvorbisidec1. (Sun, 15 Feb 2009 12:00:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Timo Juhani Lindfors <timo.lindfors@iki.fi>:
New Bug report received and forwarded. Copy sent to pkg-fso-maint@lists.alioth.debian.org, Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>. (Sun, 15 Feb 2009 12:00:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Timo Juhani Lindfors <timo.lindfors@iki.fi>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libvorbisidec1: please consider compiling ivorbisfile_example.c
Date: Sun, 15 Feb 2009 13:59:16 +0200
Package: libvorbisidec1
Version: 1.0.2+svn14261-1
Severity: wishlist

I wish ivorbisfile_example.c was compiled and included in the package
or perhaps in a separate binary package (libvorbisidec-examples?).

On my openmoko neo freerunner ogg123 consumes about 60% cpu time and
lags if I try to type with xvkbd keyboard at the same time. However,
ivorbisfile_example.c which is included in the source package
libvorbisidec consumes only about 20% cpu time.


-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: armel (armv4tl)

Kernel: Linux 2.6.28-GTA02_lindi-andy-tracking_b8b36e5ec3db71d5-mokodev (PREEMPT)
Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages libvorbisidec1 depends on:
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  libgcc1                       1:4.3.2-4  GCC support library

libvorbisidec1 recommends no packages.

libvorbisidec1 suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>:
Bug#515259; Package libvorbisidec1. (Wed, 01 Apr 2009 17:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Kahn Gillmor <dkg@fifthhorseman.net>:
Extra info received and forwarded to list. Copy sent to Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>. (Wed, 01 Apr 2009 17:54:02 GMT) Full text and rfc822 format available.

Message #10 received at 515259@bugs.debian.org (full text, mbox):

From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: 515259@bugs.debian.org, 515259-submitter@bugs.debian.org
Subject: ivorbisfile_example.c not fit for distribution
Date: Wed, 01 Apr 2009 13:50:09 -0400
[Message part 1 (text/plain, inline)]
tags 515259 + wontfix
thanks

Hi Timo--

Thanks for your suggestion about shipping a compiled version of
ivorbisfile_example.c.  I think that's probably not a good idea, as
inspection of the source indicates a number of cases where it's too
brittle for general-purpose use.  For example, toward the end of the file:

 [...]
    } else if (ret < 0) {
      /* error in the stream.  Not a problem, just reporting it in
	 case we (the app) cares.  In this case, we don't. */
    } else {
      /* we don't bother dealing with sample rate changes, etc, but
	 you'll have to*/
      fwrite(pcmout,1,ret,stdout);
    }
 [...]

I worry that shipping ivorbisfile_example as a compiled binary would
encourage people to use it, despite the fact that it quietly discards
errors, and doesn't now how to deal with things like sampling rate
changes, etc.  Furthermore, it wouldn't be clear to most folks how to
use it to actually play music (as it just emits a PCM stream on stdout,
rather than feeding the stream into an audio interface of some sort).

However, the file is BSD-licensed.  If you wanted to build a small,
simple tool that *does* handle those things reasonably, you could base
it off of this file and distribute it separately with no problem.

Alternately, if you wanted to submit changes to this file to make it
something that would be conceivably supportable, i'd be happy to
advocate for those changes with upstream as well.

But as it stands, i think shipping a compiled example probably isn't a
good idea, so i'm tagging this wontfix.

Regards,

	--dkg

[signature.asc (application/pgp-signature, attachment)]

Tags added: wontfix Request was from Daniel Kahn Gillmor <dkg@fifthhorseman.net> to control@bugs.debian.org. (Wed, 01 Apr 2009 17:54:06 GMT) Full text and rfc822 format available.

Message sent on to Timo Juhani Lindfors <timo.lindfors@iki.fi>:
Bug#515259. (Wed, 01 Apr 2009 17:54:08 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 19:19:37 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.