SoundBlaster TruStudio Pro jackd configuration problems

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

SoundBlaster TruStudio Pro jackd configuration problems

jannewmarch
I have an SB TruStudio Pro USB soundcard. Under ALSA it plays fine e.g.
   arecord -D hw:1 -f S24_3LE -c 2 -r 48000 | aplay -D hw:1 -f S24_3LE -c 2 -r 48000
(okay with S16_LE too). jackd with capture works okay too

  jackd -dalsa -dhw:1 -C

  creating alsa driver ... -|hw:1|1024|2|48000|0|0|nomon|swmeter|-|32bit
  configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
  ALSA: final selected sample format for capture: 24bit little-endian
  ALSA: use 2 periods for capture

With playback it fails

  jackd -dalsa -dhw:1 -P

  creating alsa driver ... hw:1|-|1024|2|48000|0|0|nomon|swmeter|-|32bit
  ALSA: cannot set hardware parameters for playback

With the 16-bit flag (-S) turned on and playback only jackd starts okay. BUT if I try with 16-bit for both capture and playback then it produces a clicking sound several times a second without any connections being made. If I connect the capture ports to the playback ports then I can play and hear sounds okay, but the clicking continues.

Not sure which config parameters to play with to get this device working okay.
Reply | Threaded
Open this post in threaded view
|

Re: SoundBlaster TruStudio Pro jackd configuration problems

jannewmarch
Addition: I can start jackd using an ALSA plug device, but I gather that isn't the approved way to go

jackd -dalsa -dplughw:1 -r 48000
jackdmp 1.9.10
...
no message buffer overruns
no message buffer overruns
no message buffer overruns
JACK server starting in realtime mode with priority 10
audio_reservation_init
Acquire audio card Audio1
creating alsa driver ... plughw:1|plughw:1|1024|2|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit float little-endian
...
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit float little-endian
...
ALSA: use 2 periods for playback

The only difference seems to be in the sample sizes: 24bit capture, 16bit playback for the h/w device, 32bit for capture and playback of the plug device.