Re: [LAD] [LAU] Linux Audio 2012: Is Linux Audio moving forward?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dan MacDonald <allcoms@...>
Cc: linux-audio-user <linux-audio-user@...>, Linux Audio Developers <linux-audio-dev@...>
Date: Wednesday, October 10, 2012 - 10:50 am

--e89a8f22c6c131484c04cbb2385b
Content-Type: text/plain; charset=ISO-8859-1

On Wed, Oct 10, 2012 at 6:09 AM, Dan MacDonald wrote:

> Hi LV!

current jack1 (released months or years ago):

if (snd_pcm_open (&driver->playback_handle,
playback_alsa_device,
SND_PCM_STREAM_PLAYBACK,
SND_PCM_NONBLOCK) < 0) {
switch (errno) {
case EBUSY:
current_apps = discover_alsa_using_apps ();
if (current_apps) {
jack_error ("\n\nATTENTION: The
playback device \"%s\" is "
"already in use. The
following applications "
" are using your
soundcard(s) so you should "
" check them and stop
them as necessary before "
" trying to start JACK
again:\n\n%s",
playback_alsa_device,
current_apps);
free (current_apps);

--e89a8f22c6c131484c04cbb2385b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Wed, Oct 10, 2012 at 6:09 AM, Dan Mac=
Donald <allcoms@gmail.com> wrote:
Hi LV!Nice and interesting write up of your experiences=
and opinions there. I agree with most all of it except:"Saving projects is still a huge problem. In addition to LADISH=
we do now have NSM, the Non-Session Manager, which seems like a workable s=
olution, so we'll see how this works out in the long run.

LMMS seems to be the only game in town for those who want to save full proj=
ects by just clicking "Save" and not having to install and config=
ure a "session manager". I must admit, by the way, that I have no=
t followed LMMS recently."

Saving projects is only tricky if you use the modular a=
pproach versus instrument plugins hence this isn't really a problem for=
A3 and qtractor. Aside from LMMS, MusE and sunvox have a few integrated in=
struments so they don't have this problem either (if you stick to the b=
uilt-in synths for Muse only - sunvox doesn't handle plugins) and prett=
y soon MusE should gain native VST support to further improve this situatio=
n.

Your article has reminded me of my one and only JACK co=
mplaint/ feature (yep - just one!!!) request which I filed a couple of year=
s ago now but is still to be addressed:http://trac.jackau=
dio.org/ticket/202

I'm surprised others haven't been asking for mo=
re descriptive 'device busy' error messages from JACK as for many y=
ears this has been my only issue with JACK - it doesn't start and you d=
on't know what process is preventing it doing so. Quite often I'll =
not bother doing the detective work and just reboot but that is hardly idea=
l so I think this small addition would make JACK (and qjackctl) and as a re=
sult Linux audio much more user friendly.

Your thoughts Mr Davis?=
current jack1 (released months or years ago):=A0if (snd_pcm_open (&=
amp;driver->playback_handle,=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 playback_alsa_=
device,
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0 SND_PCM_STREAM_PLAYBACK,=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 SND_PCM_NONBLOCK) < 0) {=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 switch (errno) {=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 case EBUSY:=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0 current_apps =3D discover_alsa_using_apps ();
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 if (current_apps) {=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0 jack_error ("\n\nATTENTION: The playback device \"%s\&q=
uot; is "=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0 "already in use. The following applications &quo=
t;
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 " are using your soundcard(s) so you should "=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 " c=
heck them and stop them as necessary before "
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 " trying to start JACK again:\n\n%s",=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 playback_alsa_=
device,=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0 current_apps);
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 free (current_apps);

--e89a8f22c6c131484c04cbb2385b--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]