first some facts (to prevent people from asking those)
I am using kernel 2.6.15.3 at this moment and I have ALSA compiled into the kernel including the emu10k1 driver (not as modules)
I also have a c-media onboard soundcard wich works fine when playing something with mpg123.
lspci:
Code: Select all
00:0a.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
00:0a.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)Code: Select all
0 [Audigy2 ]: Audigy2 - Audigy 2 [Unknown]
Audigy2 [Unknown] (rev.4, serial:0x10031102) at 0xd800, irq11All my channels are unmuted in alsamixer.
Now the problem is, if I start playing an mp3 with mpg123, first there is nothing for a few seconds, then it looks like the first half second or second of the song is being repeated over and over again for a few seconds. These repeated samples change over time so it seems to continue in the song but it doesn't play it right.
Increasing the verbosity of mpg123, it shows that it is repeating frame 28 for a few seconds, then frame 40, then frame 65, and so on...
I also tried with cat /dev/urandom > /dev/sound/dsp which gives me static noise in the front speakers of my 5.1 surround system. (so not muted I suppose)
doing "speaker-test" on my c-media card, it proceeded from front left to center to front right and so on (even though it's not surround)
doing this for my audigy, I get: (note the write-error)
Code: Select all
# speaker-test
speaker-test 0.0.8
Playback device is plughw:0,0
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 128 to 32768
Period size range from 32 to 32768
Periods = 4
Buffer time size 2525
To choose buffer_size = 32768
To choose period_size = 8192
was set period_size = 8192
was set buffer_size = 32867
0 - Front Left
Write error: -5,Input/output error
Transfer failed: Operation not permitted
Pausing
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 128 to 32768
... (and so on)If I do speaker-test -c6, it gets to testing front LEFT, but I get noise in front RIGHT. But I don't get that write error. It also does not proceed to the other channels, it just keeps testing front left.
Does anyone have any clues that can help finding the cause of the problem or solve it?
