I've got a weird issue going on with my ubuntu 8.04 machine.
it is upgraded from 7.1 which is a bit flaky in some regards.

It is like this I was running SqueezePlay trough Gnu Debugger ( gdb )
to help with another bug.

But i could not help to notice that it seams that SP on my PC sets all
audio to 16 bit S16_LE regardless of bit depth so 24bit 96kHz files get
played as 16/96 ?
Even the lowly Audigy 2 is a 24bit soundcard ?

Anyone got a clue ? what can be the problem, Any one else tried
tSqueezePlay with gdb and wathed the output ?

My own suspects in descending order is:

Ubuntu.
Borked alsa courtesy of 7.1 to 8.04 upgrade.
Crappy drivers support in general for audigy soundboards.
My Audigy is not better than this.
SqueezePlay.

Here is a long snippet from the gdb output observe how it is changing
S32_LE to S16_LE

Plug PCM: Linear conversion PCM (S16_LE)
src/audio/decode/decode.c:283 DEBUG decode_thread_execute
Its setup is:
stream       : PLAYBACK
access       : MMAP_INTERLEAVED
format       : S32_LE
subformat    : STD
channels     : 2
rate         : 44100
exact rate   : 44100 (44100/1)
msbits       : 32
buffer_size  : 1323
period_size  : 441
period_time  : 10000
tick_time    : 0
tstamp_mode  : NONE
period_step  : 1
sleep_min    : 0
avail_min    : 441
xfer_align   : 441
start_threshold  : 1
stop_threshold   : 1323
silence_threshold: 0
silence_size : 0
boundary     : 1387266048
Slave: Hardware PCM card 0 'Audigy 2 [Unknown]' device 0 subdevice 0
Its setup is:
stream       : PLAYBACK
access       : MMAP_INTERLEAVED
format       : S16_LE
subformat    : STD
channels     : 2
rate         : 44100
exact rate   : 44100 (44100/1)
msbits       : 16
buffer_size  : 1323
period_size  : 441
period_time  : 10000
tick_time    : 0
tstamp_mode  : NONE
period_step  : 1
sleep_min    : 0
avail_min    : 441
xfer_align   : 441
start_threshold  : 1
stop_threshold   : 1323
silence_threshold: 0
silence_size : 0
boundary     : 1387266048

An here is another one where I play a 24/96 file:

Plug PCM: Linear conversion PCM (S16_LE)
Its setup is:
stream       : PLAYBACK
access       : MMAP_INTERLEAVED
format       : S32_LE
subformat    : STD
channels     : 2
rate         : 96000
exact rate   : 96000 (96000/1)
msbits       : 32
buffer_size  : 2880
period_size  : 960
period_time  : 10000
tick_time    : 0
tstamp_mode  : NONE
period_step  : 1
sleep_min    : 0
avail_min    : 960
xfer_align   : 960
start_threshold  : 1
stop_threshold   : 2880
silence_threshold: 0
silence_size : 0
boundary     : 1509949440
Slave: Hardware PCM card 0 'Audigy 2 [Unknown]' device 0 subdevice 0
Its setup is:
stream       : PLAYBACK
access       : MMAP_INTERLEAVED
format       : S16_LE
subformat    : STD
channels     : 2
rate         : 96000
exact rate   : 96000 (96000/1)
msbits       : 16
buffer_size  : 2880
period_size  : 960
period_time  : 10000
tick_time    : 0
tstamp_mode  : NONE
period_step  : 1
sleep_min    : 0
avail_min    : 960
xfer_align   : 960
start_threshold  : 1
stop_threshold   : 2880
silence_threshold: 0
silence_size : 0
boundary     : 1509949440

I actually tried to understand the stuff about alsa but it's a very
steap learning curve and I'm not able to reach the first step :-/
Anyone else seen this ?


-- 
Mnyb
------------------------------------------------------------------------
Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143
View this thread: http://forums.slimdevices.com/showthread.php?t=60875

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to