On 03/12/09 01:15, Sid Boyce wrote:
My sound cards say they should be capable of 192K sample rate, but alsa seems to have a default of 48K. I tried the following in /etc/asound.conf, but it doesn't effect the change. I need it for alsa direct rather than for pulseaudio. # o /etc/asound.conf defaults.pcm.rate_converter "samplerate" Any clues? Regards Sid.
Am I mistaken that this list is only for eye-candy and GUI debates? I'd think so by the number of questions I posed over years that have been met with total silence. Either like me nobody knows or nobody cares. I tend to use the distro for real stuff, not as complex as the requirement of rocket scientists, but to do much "simpler" stuff. An example of what I mean is as shown above. I can find solutions which apply to other distros which do not work with openSUSE, so someone who puts this stuff together should readily be able to offer a solution. Next connundrum:- #!/bin/bash # define name used in the RMI registry export NAME=SDR-SHELL export SDR_DEFRATE=48000 export JACK_BUFFER=1024 # start jackd (firewir-Phw:0 -Chw:1e fa-66) echo "starting jackd ..." #DELTA-44 pasuspender -- /usr/bin/jackd -dalsa -Phw:0 -Chw:2 -r$SDR_DEFRATE -p${JACK_BUFFER} -s -n2& # /usr/bin/jackd -dalsa -dhw:0 -r$SDR_DEFRATE -p${JACK_BUFFER} -n3& usbsoftrock -a -d & sleep 5 # start RX DttSP echo "starting DttSP ${NAME}_RX ..." /usr/bin/sdr-core --spectrum --metering --client-name=${NAME}_RX --buffsize=${JACK_BUFFER} --ringmult=4 --command-port=19001 --spectrum-port=19002 --meter-port=19003& sleep 5 # connect receiver echo "connecting receiver ..." /usr/bin/jack_connect system:capture_1 ${NAME}_RX:il sleep 2 /usr/bin/jack_connect system:capture_2 ${NAME}_RX:ir sleep 2 /usr/bin/jack_connect ${NAME}_RX:ol system:playback_1 sleep 2 /usr/bin/jack_connect ${NAME}_RX:or system:playback_2 sleep 2 # start sdr-shell sdr-shell& ========================================================================== The software under test asks for jack in /usr/bin (openSUSE jack-0.116.2), so why is it looking at jack2 in /usr/local/bin? Also running /usr/local/bin/jackd or using findsym to look for known jack2 symbols, can't be found, /usr/local/lib64 is a search path in findsym. # nm /usr/local/lib64/libjackserver.so.0.1.0|grep jackctl_server_create 0000000000048f40 T jackctl_server_create "which jackd" says /usr/local/bin, but the script explicitly says "/usr/bin/jackd". starting DttSP SDR-SHELL_RX ... /usr/local/bin/jackd: symbol lookup error: /usr/local/bin/jackd: undefined symbol: jackctl_server_create SDR-SHELL_RX: can't make client -- jack not running?: No such file or directory connecting receiver ... /usr/local/bin/jackd: symbol lookup error: /usr/local/bin/jackd: undefined symbol: jackctl_server_create jack server not running? /usr/local/bin/jackd: symbol lookup error: /usr/local/bin/jackd: undefined symbol: jackctl_server_create jack server not running? /usr/local/bin/jackd: symbol lookup error: /usr/local/bin/jackd: undefined symbol: jackctl_server_create jack server not running? /usr/local/bin/jackd: symbol lookup error: /usr/local/bin/jackd: undefined symbol: jackctl_server_create jack server not running? slipstream:/usr/src # sample_rate = 48000 ::: Configuration loading completed Adjusting font... Ascent 17 Adjusting font... Ascent 17 Adjusting font... Ascent 15 Adjusting font... Ascent 14 Adjusting font... Ascent 13 Adjusting font... Ascent 12 ::: Memory Cells loading completed Set the frequency. Set the RX Gain. filter_l is: -3220 and filter_h is: -670 Set the frequency. Set the frequency. Set the frequency. Set the RX Gain. Set the RX Gain. Saving settings... sdr-shell exiting. slipstream:/usr/src # which jackd /usr/local/bin/jackd # ps fax|grep jack 26583 pts/0 S+ 0:00 | \_ grep jack 26536 pts/0 S 0:00 pasuspender -- /usr/bin/jackd -dalsa -Phw:0 -Chw:2 -r48000 -p1024 -s -n2 26539 ? Ssl 0:00 \_ /usr/bin/jackd -dalsa -Phw:0 -Chw:2 -r48000 -p1024 -s -n2 No idea why it starts /usr/bin/jackd correctly, then tries to start the other one as that not what the scripts asks. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org