Mercurial > audlegacy-plugins
diff src/vorbis/vorbis.c @ 2211:2a13a038987c
vorbis: bitrate field added
author | Eugene Zagidullin <e.asphyx@gmail.com> |
---|---|
date | Thu, 06 Dec 2007 03:54:59 +0300 |
parents | d0ede319f7b9 |
children | a13b8f308dce |
line wrap: on
line diff
--- a/src/vorbis/vorbis.c Thu Dec 06 03:41:16 2007 +0300 +++ b/src/vorbis/vorbis.c Thu Dec 06 03:54:59 2007 +0300 @@ -631,6 +631,8 @@ /* associate with tuple */ aud_tuple_associate_int(tuple, FIELD_LENGTH, NULL, length); + /* maybe, it would be better to display nominal bitrate (like in main win), not average? --eugene */ + aud_tuple_associate_int(tuple, FIELD_BITRATE, NULL, ov_bitrate(vorbisfile, -1)/1000); if ((comment = ov_comment(vorbisfile, -1))) { gchar *tmps;