Page 1 of 1

Linux usb audio device is once only

Posted: Tue May 13, 2014 2:57 pm
by Chris Laurie
I am trying Linux as the main QLC+ app and have found what looks like an issue (for me). I use a USB sound card because the laptop sound is very noisy.

Using Audacious as the mp3 player can play stop start play another track using the card, as long as I mapped the card as the output.

In QLC+ 4.7.2, I map the usb device as the output an the audio track will play once only. If I stop the track and play it again then the usb device as mapped is no longer used.

The audio is coming out of the default device then, even though the mapping shows my usb device. It is as if the QLC+ player is reset to default device internally (and not the mapped device) when you stop the audio track.

Linux usb audio device is once only

Posted: Tue May 13, 2014 3:50 pm
by Massimo Callegari
Hi Chris, I've just checked and reproduced what you've discovered.
I confirm this is an issue. Gonna fix it.

Linux usb audio device is once only

Posted: Tue May 13, 2014 3:56 pm
by Chris Laurie
Cool Massimo! You da man!!!

Linux usb audio device is once only

Posted: Tue May 13, 2014 4:31 pm
by Massimo Callegari
Found and fixed, but it's a delicate change.
I need to double check if it works on Windows and OSX too...

Linux usb audio device is once only

Posted: Tue May 13, 2014 5:43 pm
by Massimo Callegari
OK, if you compiled from sources, you can update now. The fix is on GIT

Linux usb audio device is once only

Posted: Tue May 13, 2014 8:23 pm
by Chris Laurie
Unfortunately building the sources on my only linux box (ancient Asus laptop) won't work. It's Lubuntu and I've tried before but it is too painful an exercise.

Unless you have a deb package that you can share with me.

Linux usb audio device is once only

Posted: Mon May 26, 2014 3:16 pm
by Chris Laurie
Eventually built something useable on the Lubuntu box.

This now works except for cue lists.

When you have a few audio files (like sound effects for a play) then they sometimes need to switch fast - i.e. the one file plays and then the next one is started, stopping the previous one and playing the next one.

If these files are sitting in a solo frame of buttons this is exactly what happens, so that is fine.

If you put them in a cue list then the currently playing audio file is stopped as expected and the next file is played but on the default device, not the mapped one. If you then advance the cue list again before that file is complete it will play on the mapped device.

If you wait until the audio file is complete then it will play to the correct device using the cue list.

In other words it only reverts the default device when using a cue list and the current audio file in the cue list is not complete, then it stops the current audio file (as expected) but the playback of the next file is on the default device.