Menu

#95 [PATCH] soxi -b displays correct bitrate for Ogg-Vorbis

None
closed
nobody
None
5
2020-08-12
2012-12-02
eric_wong
No

From my reading of open_read(), ft->signal.precision is more
correct than reading ft->encoding.bits_per_sample directly.
ft->encoding.bits_per_sample is zero on all the Ogg-Vorbis
files I tried.

This makes the output of "soxi -b" match the value given in
the "Precision" line of "soxi" (no switches) output for
Ogg-Vorbis files.

Discussion

  • eric_wong

    eric_wong - 2012-12-02

    [PATCH] soxi -b displays correct bitrate for Ogg-Vorbis

     
  • eric_wong

    eric_wong - 2012-12-02

    Also pullable from my git repo:

    The following changes since commit 542cab5f35508e4bd8dd52db069a562f5f86d33a:

    Merge branch 'dot' into master (2012-10-16 03:37:18 +0200)

    are available in the git repository at:

    git://bogomips.org/sox soxi-vorbis

    for you to fetch changes up to 441989e839bc76dcba89b09403295868087d935f:

    soxi -b displays correct bitrate for Ogg-Vorbis (2012-12-02 21:42:33 +0000)

     
  • eric_wong

    eric_wong - 2013-09-29

    Please drop this patch. f4562efd0aa3d490f13bf8599cacee963e6a8899 (soxi -p) is better.
    Thanks.

     
  • Mans Rullgard

    Mans Rullgard - 2020-08-12
    • status: open --> closed
    • Group: -->
     

Log in to post a comment.