Iv tried every thing I know to find the .asoundrc file that configures Alsa , It should be in the libasound2-plugins folder. Iv read that you must open this file and edit in ex:
pcm.rawjack {
type jack
playback_ports {
0 system:playback_1
1 system:playback_2
}
capture_ports {
0 system:capture_1
1 system:capture_2
}
}
pcm.jack {
type plug
slave { pcm "rawjack" }
hint {
description "JACK Audio Connection Kit"
}
}
This first PCM definition above example defines a virtual audio device called "pcm.rawjack" that has 2 input channels and two output channels. Each channel definition consists of a number (starting from zero), and a named JACK port that it will be connected to (it is not possible to create a disconnected channel). We have called the device "rawjack" because it reflects only the capabilities of JACK itself - the sample rate, sample format and so forth must all match JACK's. This is not normally very useful, so we add a second PCM definition for a device called "pcm.jack". This has the same configuration but when an application uses this device, ALSA will do whatever is needed to convert between audio data formats.
Having done this, you can now use the name "pcm.jack" when using any application that allows you to specify a device name (which in theory all ALSA applications are supposed to do). The simplest test case to make sure that things work is to use the ALSA aplay utility like this: aplay -D pcm.jack /path/to/some/non-compressed/audio/file
If you wanted to make all ALSA applications use this device by default (i.e. even when no explicit name is given) then your ~/.asoundrc should also contain this text:
pcm.!default {
type plug
slave { pcm "rawjack" }
}
You should check the rest of the file for other definitions of "pcm.!default" - only the last one will have any effect and there should be preferably only be one.
Note that this solution will create some latency: the ALSA JACK plugin has to use a buffer between the data being sent by the application and JACK itself to avoid clicks and dropouts.
these are then instrustions on the Jack site that tell you how to set up Alsa and Jack to work together but I must find the .alsoundrc file first ?????