[Linux][QT5] Cannot add audio files

The issues found when using the Function Manager panel
Post Reply
Rik
Posts: 12
Joined: Mon Jul 20, 2015 7:51 pm
Real Name:

Hi,

I'm using the latest 4.11.1 QT5 version compiled from git on fedora x64.

In the functions tab, I cannot add audio files using the "Open Audio File" Dialog. When I select "Audio Files", no files are shown (e.g. ".mp3", "wav"). When I select "All Files" and select a audio file, I get the error dialog message "Unsupported audio file": "This audio file cannot be played with QLC+. Sorry."

Can I help fixing this issue?
User avatar
mcallegari
Posts: 4711
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

If no extensions are listed in the open dialog, it means you built QLC+ without libsndfile and libmad dependencies.

Now I notice they're not mentioned in the GitHub wiki (but they are in the Ubuntu/Debian/Mint paragraph) but they should be: libsndfile-devel and libmad-devel.
Not sure if Fedora have removed libmad from their repos though.
Rik
Posts: 12
Joined: Mon Jul 20, 2015 7:51 pm
Real Name:

Ok thanks, I will check later. Fedora has those libraries in their repositories.
User avatar
sbenejam
Posts: 607
Joined: Sun Apr 12, 2015 6:28 pm
Real Name: Santiago Benejam Torres
Contact:

On Xubuntu 16.04 QLC+ 4.11 from git are working as expected. I can add sound files without errors.
Rik
Posts: 12
Joined: Mon Jul 20, 2015 7:51 pm
Real Name:

So I checked my installed packages. I had both libraries installed:

Code: Select all

Package libmad-0.15.1b-21.fc26.x86_64 is already installed, skipping.
Package libsndfile-1.0.28-3.fc26.x86_64 is already installed, skipping.
Package libsndfile-1.0.28-3.fc26.i686 is already installed, skipping.
Do I have to specify any compile flags?
User avatar
mcallegari
Posts: 4711
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

You need the devel packages and rebuild QLC+. Please read my last post again.
Rik
Posts: 12
Joined: Mon Jul 20, 2015 7:51 pm
Real Name:

Yes, sorry that worked for me. Thanks!

I suggest to add the two packages to the install instructions in the wiki.

Code: Select all

dnf install libmad-devel libsndfile-devel
User avatar
mcallegari
Posts: 4711
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Rik wrote: Thu Aug 10, 2017 4:49 pm I suggest to add the two packages to the install instructions in the wiki.

Code: Select all

dnf install libmad-devel libsndfile-devel
Updated 3 days ago. No idea what 'dnf' is though.
Rik
Posts: 12
Joined: Mon Jul 20, 2015 7:51 pm
Real Name:

dnf is the package manager since fedora 23 I think. It replaced yum.
Post Reply