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

"Seekable" is not set correctly #124

Closed
cnliao opened this issue Feb 20, 2016 · 4 comments
Closed

"Seekable" is not set correctly #124

cnliao opened this issue Feb 20, 2016 · 4 comments

Comments

@cnliao
Copy link

cnliao commented Feb 20, 2016

System: Archlinux
libsndfile version: 1.0.26 (I tested both the version in system repo and self-compiled version)
Issue description: Using sndfile-info to check whether a sound file is seekable, one finds that the "Seekable" field is always "False". The same field is "True" for the same file with libsndfile version 1.0.25

Here follows some sample output.

sndfile-info sample.wav ----- 1.0.26

Length : 394301084
RIFF : 394301076
WAVE
fmt : 16
Format : 0x1 => WAVE_FORMAT_PCM
Channels : 2
Sample Rate : 44100
Block Align : 4
Bit Width : 16
Bytes/sec : 176400
data : 394301040
End

Sample Rate : 44100
Frames : 98575260
Channels : 2
Format : 0x00010002
Sections : 0
Seekable : FALSE
Duration : 00:37:15.267
Signal Max : 31658 (-0.30 dB)

sndfile-info sample.wav ----- 1.0.25

Length : 394301084
RIFF : 394301076
WAVE
fmt : 16
Format : 0x1 => WAVE_FORMAT_PCM
Channels : 2
Sample Rate : 44100
Block Align : 4
Bit Width : 16
Bytes/sec : 176400
data : 394301040
End

Sample Rate : 44100
Frames : 98575260
Channels : 2
Format : 0x00010002
Sections : 1
Seekable : TRUE
Duration : 00:37:15.267
Signal Max : 31658 (-0.30 dB)

./configure output

`
-=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-

Configuration summary :

libsndfile version : .................. 1.0.26

Host CPU : ............................ x86_64
Host Vendor : ......................... pc
Host OS : ............................. linux-gnu

Experimental code : ................... no
Using ALSA in example programs : ...... yes
External FLAC/Ogg/Vorbis : ............ yes

Tools :

Compiler is Clang : ................... no
Compiler is GCC : ..................... yes
GCC version : ......................... 5.3.0
Sanitizer enabled : ................... no
Stack smash protection : .............. no

Installation directories :

Library directory : ................... /usr/local/lib
Program directory : ................... /usr/local/bin
Pkgconfig directory : ................. /usr/local/lib/pkgconfig
HTML docs directory : ................. /usr/local/share/doc/

Compiling some other packages against libsndfile may require
the addition of '/usr/local/lib/pkgconfig' to the
PKG_CONFIG_PATH environment variable.

make: Nothing to be done for 'genfiles'.
make: Nothing to be done for 'genfiles'.

`

@erikd
Copy link
Member

erikd commented Feb 20, 2016

I'm pretty sure this was fixed in commits 776308d and f29c0dc . These will be in the next release.

@zaps166
Copy link

zaps166 commented May 21, 2016

These will be in the next release.

When we can expect the new release?

Unfortunately "seekable" breaks libmirage which causes that cdemu can't mount any Audio CD image which uses CUE and FLAC/WAVE file (it thinks that file is not seekable)...

@MaycneSonahoz
Copy link

This also causes an issue in Blender VSE.
https://bugs.archlinux.org/task/48679

@erikd
Copy link
Member

erikd commented Jun 19, 2016

Version 1.0.27 has been released and its at http://www.mega-nerd.com/libsndfile/#Download ,

@erikd erikd closed this as completed Jun 19, 2016
chrisn added a commit to bbc/audiowaveform that referenced this issue Oct 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants