Setting up M-Audio Delta 1010 config permanently in JACK and making the regular soundcard work
I was having trouble setting up my M-Audio Delta 1010 with JACK for awhile. It seemed that I could get audio in and out through envy24control, but I couldn't get JACK to work so that I could then run Ardour; it wouldn't connect. Then I did a web search and found this:
dan@blackdiamond:~$ jackd -R -P80 -d alsa -d hw:0
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 48000Hz, period = 1024 frames, buffer = 2 periods
ALSA: final selected sample format for capture: 32bit little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit little-endian
ALSA: use 2 periods for playback
Now, it works, but only after I type this code into a terminal. How can I get this to work permanently, so that JACK will always be able to automatically connect to the Delta using this setup? I tried messing with the JACK setup configuration but I couldn't get that going.
Secondly, now that I have installed the Delta 1010, it seems that my regular soundcard won't put out any audio, no matter what I do; changing default soundcards for music playback, etc. The soundcard appears as VIA 8235 under the System>Preferences>Sound menu and other menus. It isn't an actual PCI slot soundcard; it's part of the computer case itself it seems; it's in there with the hookup for the monitor and things like that. I'm not sure, but the problem might be that somehow the Delta became the primary soundcard (it comes up as hw:0 if you notice above). All I want to happen is to make the regular soundcard the output device for music playback (mp3s, etc.) and system sounds, but I can't seem to make this work.
Anyone know how I can fix any of this? Any suggestions would be appreciated.
PS: Also, as a side note, how can I get this working at 24-bit/96khz? That's what the Delta offers so I'd prefer to take advantage if possible...