helpThe OpenVortex Project - Support: sr #102939, Front and Rear channels swap in...

 
 

sr #102939: Front and Rear channels swap in au8830

Submitted by:  None
Submitted on:  Tue 23 Mar 2004 05:22:03 PM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open
Operating System: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Tue 01 Jun 2004 07:11:59 AM UTC, comment #14:

>hexdump out1lq.wav -C

                1. 52 49 46 46 36 b1 02 00 57 41 56 45 66 6d 74 20 |RIFF6...WAVEfmt |

00000010 12 00 00 00 01 00 04 00 22 56 00 00 10 b1 02 00 |........"V......|
00000020 08 00 10 00 00 00 64 61 74 61 10 b1 02 00 00 00 |......data......|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 01 00 00 00 00 00 00 00 01 00 |................|
00000050 00 00 00 00 00 00 01 00 00 00 00 00 00 00 03 00 |................|
00000060 00 00 00 00 00 00 04 00 00 00 00 00 00 00 04 00 |................|
00000070 00 00 00 00 00 00 07 00 00 00 00 00 00 00 08 00 |................|
00000080 00 00 00 00 00 00 09 00 00 00 00 00 00 00 0d 00 |................|
00000090 00 00 00 00 00 00 0e 00 00 00 00 00 00 00 0f 00 |................|
000000a0 00 00 00 00 00 00 14 00 00 00 00 00 00 00 15 00 |................|
000000b0 00 00 00 00 00 00 16 00 00 00 00 00 00 00 1c 00 |................|
000000c0 00 00 00 00 00 00 1d 00 00 00 00 00 00 00 1e 00 |................|
000000d0 00 00 00 00 00 00 25 00 00 00 00 00 00 00 26 00 |......%.......&.|
000000e0 00 00 00 00 00 00 28 00 00 00 00 00 00 00 2f 00 |......(......./.|
000000f0 00 00 00 00 00 00 30 00 00 00 00 00 00 00 32 00 |......0.......2.|

channels=4
sample rate=22050
byte rate=176400
block align=8
bits/sample=16

>aplay -v out1lq.wav

Playing WAVE 'out1lq.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Channels 4
Plug PCM: Hardware PCM card 0 'au8830' device 0 subdevice 0

Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 4
rate : 22050
exact rate : 22050 (22050/1)
msbits : 16
buffer_size : 8192
period_size : 512
period_time : 23219
tick_time : 10000
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 512
xfer_align : 512
start_threshold : 8192
stop_threshold : 8192
silence_threshold: 0
silence_size : 0
boundary : 1073741824

Anonymous
Tue 01 Jun 2004 05:24:21 AM UTC, comment #13:

Is it possible (or allowed by alsa spec.) that kcontrols can be created after snd_pcm_hw_params() and destroy by snd_pcm_hw_params_free() ?

The hardware mixing application which is responsible for playing and mixing different sounds, can change the gain of the internal mixer of au88x0 chips using the kcontrol.

Anonymous
Tue 11 May 2004 12:39:26 PM UTC, comment #12:

It's quite strange that I get higher volume and better music from front speakers after muting SDAC mixer of STAC9708.

Anonymous
Fri 09 Apr 2004 03:57:13 AM UTC, comment #11:

Vortex: init.... <6>done.
en=1 channel=11 source=30 dest=a0
addroutes channel=11 rnum=1
28280 = 0000ffff
282f8 = 000030a0
en=1 channel=11 source=31 dest=a1
addroutes channel=11 rnum=1
28284 = 0000ffff
28280 = 000031a1
en=1 channel=11 source=7e dest=88
addroutes channel=11 rnum=1
28220 = 0000ffff
28284 = 00007e88
en=1 channel=11 source=7f dest=89
addroutes channel=11 rnum=1
28224 = 0000ffff
28220 = 00007f89
en=1 channel=11 source=32 dest=8c
addroutes channel=11 rnum=1
28230 = 0000ffff
28224 = 0000328c
en=1 channel=11 source=33 dest=8d
addroutes channel=11 rnum=1
28234 = 0000ffff
28230 = 0000338d
en=1 channel=11 source=70 dest=50
addroutes channel=11 rnum=1
28140 = 0000ffff
28234 = 00007050
en=1 channel=11 source=71 dest=51
addroutes channel=11 rnum=1
28144 = 0000ffff
28140 = 00007151
en=1 channel=14 source=34 dest=92
addroutes channel=14 rnum=1
28248 = 0000ffff
28304 = 00003492
en=1 channel=14 source=35 dest=93
addroutes channel=14 rnum=1
2824c = 0000ffff
28248 = 00003593
vortex: revision = 0xfe, device = 2
ADB_RTBASE and ADB_CHNBASE============================(1)===
28140 : 00007151 CODECIN1->MIXIN1
28220 : 00007f89 EQOUT1 ->CODECOUT1
28224 : 0000328c MIXOUT2 ->CODECOUT4
28230 : 0000338d MIXOUT3 ->CODECOUT5
28234 : 00007050 CODECIN0->MIXIN0
28248 : 00003593 MIXOUT5 ->SPDIFOUT1
28280 : 000031a1 MIXOUT1 ->EQIN1
28284 : 00007e88 EQOUT0 ->CODECOUT0
282f8 : 000030a0 MIXOUT0 ->EQIN0
28304 : 00003492 MIXOUT4 ->SPDIFOUT0
============================================================

... aplay mono.wav

i=0 nr_ch=1
en=1 channel=00 source=00 dest=40
addroutes channel=00 rnum=1
28100 = 0000ffff <--- Is this necessary ?
282b4 = 00000040
en=1 channel=11 source=20 dest=52
addroutes channel=11 rnum=1
28148 = 0000ffff <--- Is this necessary ?
28144 = 00002052
ADB_RTBASE and ADB_CHNBASE============================(2)===
28140 : 00007151 CODECIN1->MIXIN1
28144 : 00002052 SRCOUT0 ->MIXIN2
28220 : 00007f89 EQOUT1 ->CODECOUT1
28224 : 0000328c MIXOUT2 ->CODECOUT4
28230 : 0000338d MIXOUT3 ->CODECOUT5
28234 : 00007050 CODECIN0->MIXIN0
28248 : 00003593 MIXOUT5 ->SPDIFOUT1
28280 : 000031a1 MIXOUT1 ->EQIN1
28284 : 00007e88 EQOUT0 ->CODECOUT0
282b4 : 00000040 ADBDMA0 ->SRCIN0
282f8 : 000030a0 MIXOUT0 ->EQIN0
28304 : 00003492 MIXOUT4 ->SPDIFOUT0
===========================================================
i=0 nr_ch=1
en=0 channel=00 source=00 dest=40
delroutes channel=00 route0=0040 route1=0040
282b4 = 0000ffff
en=0 channel=11 source=20 dest=52
delroutes channel=11 route0=2052 route1=2052
28144 = 0000ffff
ADB_RTBASE and ADB_CHNBASE============================(3)===
28140 : 00007151 CODECIN1->MIXIN1
28220 : 00007f89 EQOUT1 ->CODECOUT1
28224 : 0000328c MIXOUT2 ->CODECOUT4
28230 : 0000338d MIXOUT3 ->CODECOUT5
28234 : 00007050 CODECIN0->MIXIN0
28248 : 00003593 MIXOUT5 ->SPDIFOUT1
28280 : 000031a1 MIXOUT1 ->EQIN1
28284 : 00007e88 EQOUT0 ->CODECOUT0
282f8 : 000030a0 MIXOUT0 ->EQIN0
28304 : 00003492 MIXOUT4 ->SPDIFOUT0
============================================================

Anonymous
Thu 08 Apr 2004 05:43:43 PM UTC, comment #10:

Vortex: init.... <6>done.
en=1 channel=11 source=30 dest=a0
addroutes channel=11 rnum=1
28280 = 0000ffff
282f8 = 000030a0
en=1 channel=11 source=31 dest=a1
addroutes channel=11 rnum=1
28284 = 0000ffff
28280 = 000031a1
en=1 channel=11 source=7e dest=88
addroutes channel=11 rnum=1
28220 = 0000ffff
28284 = 00007e88
en=1 channel=11 source=7f dest=89
addroutes channel=11 rnum=1
28224 = 0000ffff
28220 = 00007f89
en=1 channel=11 source=32 dest=8c
addroutes channel=11 rnum=1
28230 = 0000ffff
28224 = 0000328c
en=1 channel=11 source=33 dest=8d
addroutes channel=11 rnum=1
28234 = 0000ffff
28230 = 0000338d
en=1 channel=11 source=70 dest=50
addroutes channel=11 rnum=1
28140 = 0000ffff
28234 = 00007050
en=1 channel=11 source=71 dest=51
addroutes channel=11 rnum=1
28144 = 0000ffff
28140 = 00007151
en=1 channel=14 source=34 dest=92
addroutes channel=14 rnum=1
28248 = 0000ffff
28304 = 00003492
en=1 channel=14 source=35 dest=93
addroutes channel=14 rnum=1
2824c = 0000ffff
28248 = 00003593
vortex: revision = 0xfe, device = 2
ADB_RTBASE and ADB_CHNBASE============================(1)===
28140 : 00007151 CODECIN1->MIXIN1
28220 : 00007f89 EQOUT1 ->CODECOUT1
28224 : 0000328c MIXOUT2 ->CODECOUT4
28230 : 0000338d MIXOUT3 ->CODECOUT5
28234 : 00007050 CODECIN0->MIXIN0
28248 : 00003593 MIXOUT5 ->SPDIFOUT1
28280 : 000031a1 MIXOUT1 ->EQIN1
28284 : 00007e88 EQOUT0 ->CODECOUT0
282f8 : 000030a0 MIXOUT0 ->EQIN0
28304 : 00003492 MIXOUT4 ->SPDIFOUT0
============================================================

....arecord -f cd -vv -d 5 mic.wav

en=1 channel=11 source=36 dest=40
addroutes channel=11 rnum=1
28100 = 0000ffff
28144 = 00003640
en=1 channel=11 source=37 dest=41
addroutes channel=11 rnum=1
28104 = 0000ffff
28100 = 00003741
addroutes channel=00 rnum=2
28080 = 0000ffff
28000 = 00002120
282b4 = 00002000
ADB_RTBASE and ADB_CHNBASE============================(2)===
28000 : 00002120 SRCOUT1 ->SRCOUT0
28100 : 00003741 MIXOUT7 ->SRCIN1
28140 : 00007151 CODECIN1->MIXIN1
28144 : 00003640 MIXOUT6 ->SRCIN0
28220 : 00007f89 EQOUT1 ->CODECOUT1
28224 : 0000328c MIXOUT2 ->CODECOUT4
28230 : 0000338d MIXOUT3 ->CODECOUT5
28234 : 00007050 CODECIN0->MIXIN0
28248 : 00003593 MIXOUT5 ->SPDIFOUT1
28280 : 000031a1 MIXOUT1 ->EQIN1
28284 : 00007e88 EQOUT0 ->CODECOUT0
282b4 : 00002000 SRCOUT0 ->ADBDMA0
282f8 : 000030a0 MIXOUT0 ->EQIN0
28304 : 00003492 MIXOUT4 ->SPDIFOUT0
============================================================
vortex: IRQ fifo error
en=0 channel=11 source=36 dest=40
delroutes channel=11 route0=3640 route1=3640
28144 = 00003741
en=0 channel=11 source=37 dest=41
delroutes channel=11 route0=3741 route1=3741
28144 = 0000ffff
delroutes channel=00 route0=2000 route1=2120
282b4 = 0000ffff
ADB_RTBASE and ADB_CHNBASE============================(3)===
28000 : 00002120 SRCOUT1 ->SRCOUT0
28100 : 00003741 MIXOUT7 ->SRCIN1
28140 : 00007151 CODECIN1->MIXIN1
28220 : 00007f89 EQOUT1 ->CODECOUT1
28224 : 0000328c MIXOUT2 ->CODECOUT4
28230 : 0000338d MIXOUT3 ->CODECOUT5
28234 : 00007050 CODECIN0->MIXIN0
28248 : 00003593 MIXOUT5 ->SPDIFOUT1
28280 : 000031a1 MIXOUT1 ->EQIN1
28284 : 00007e88 EQOUT0 ->CODECOUT0
282f8 : 000030a0 MIXOUT0 ->EQIN0
28304 : 00003492 MIXOUT4 ->SPDIFOUT0
============================================================

Anonymous
Thu 08 Apr 2004 02:58:03 PM UTC, comment #9:

Vortex: init.... <6>done.
en=1 channel=11 source=30 dest=a0
addroutes channel=11 rnum=1
28280 = 0000ffff
282f8 = 000030a0
en=1 channel=11 source=31 dest=a1
addroutes channel=11 rnum=1
28284 = 0000ffff
28280 = 000031a1
en=1 channel=11 source=7e dest=88
addroutes channel=11 rnum=1
28220 = 0000ffff
28284 = 00007e88
en=1 channel=11 source=7f dest=89
addroutes channel=11 rnum=1
28224 = 0000ffff
28220 = 00007f89
en=1 channel=11 source=32 dest=8c
addroutes channel=11 rnum=1
28230 = 0000ffff
28224 = 0000328c
en=1 channel=11 source=33 dest=8d
addroutes channel=11 rnum=1
28234 = 0000ffff
28230 = 0000338d
en=1 channel=11 source=70 dest=50
addroutes channel=11 rnum=1
28140 = 0000ffff
28234 = 00007050
en=1 channel=11 source=71 dest=51
addroutes channel=11 rnum=1
28144 = 0000ffff
28140 = 00007151
en=1 channel=14 source=34 dest=92
addroutes channel=14 rnum=1
28248 = 0000ffff
28304 = 00003492
en=1 channel=14 source=35 dest=93
addroutes channel=14 rnum=1
2824c = 0000ffff
28248 = 00003593
vortex: revision = 0xfe, device = 2
ADB_RTBASE and ADB_CHNBASE============================(1)===
28140 : 00007151 CODECIN1->MIXIN1
28220 : 00007f89 EQOUT1 ->CODECOUT1
28224 : 0000328c MIXOUT2 ->CODECOUT4
28230 : 0000338d MIXOUT3 ->CODECOUT5
28234 : 00007050 CODECIN0->MIXIN0
28248 : 00003593 MIXOUT5 ->SPDIFOUT1
28280 : 000031a1 MIXOUT1 ->EQIN1
28284 : 00007e88 EQOUT0 ->CODECOUT0
282f8 : 000030a0 MIXOUT0 ->EQIN0
28304 : 00003492 MIXOUT4 ->SPDIFOUT0
===========================================================

......aplay quad.wav

i=0 nr_ch=4
en=1 channel=03 source=00 dest=40
addroutes channel=03 rnum=1
28100 = 0000ffff
282c0 = 00000040
en=1 channel=11 source=20 dest=52
addroutes channel=11 rnum=1
28148 = 0000ffff
28144 = 00002052
i=1 nr_ch=4
en=1 channel=03 source=00 dest=41
addroutes channel=03 rnum=1
28104 = 0000ffff
28100 = 00000041
en=1 channel=11 source=21 dest=53
addroutes channel=11 rnum=1
2814c = 0000ffff
28148 = 00002153
i=2 nr_ch=4
en=1 channel=03 source=00 dest=42
addroutes channel=03 rnum=1
28108 = 0000ffff
28104 = 00000042
en=1 channel=11 source=22 dest=54
addroutes channel=11 rnum=1
28150 = 0000ffff
2814c = 00002254
i=3 nr_ch=4
en=1 channel=03 source=00 dest=43
addroutes channel=03 rnum=1
2810c = 0000ffff
28108 = 00000043
en=1 channel=11 source=23 dest=55
addroutes channel=11 rnum=1
28154 = 0000ffff
28150 = 00002355
ADB_RTBASE and ADB_CHNBASE============================(2)===
28100 : 00000041 ADBDMA0 ->SRCIN1
28104 : 00000042 ADBDMA0 ->SRCIN2
28108 : 00000043 ADBDMA0 ->SRCIN3
28140 : 00007151 CODECIN1->MIXIN1
28144 : 00002052 SRCOUT0 ->MIXIN2
28148 : 00002153 SRCOUT1 ->MIXIN3
2814c : 00002254 SRCOUT2 ->MIXIN4
28150 : 00002355 SRCOUT3 ->MIXIN5
28220 : 00007f89 EQOUT1 ->CODECOUT1
28224 : 0000328c MIXOUT2 ->CODECOUT4
28230 : 0000338d MIXOUT3 ->CODECOUT5
28234 : 00007050 CODECIN0->MIXIN0
28248 : 00003593 MIXOUT5 ->SPDIFOUT1
28280 : 000031a1 MIXOUT1 ->EQIN1
28284 : 00007e88 EQOUT0 ->CODECOUT0
282c0 : 00000040 ADBDMA0 ->SRCIN0
282f8 : 000030a0 MIXOUT0 ->EQIN0
28304 : 00003492 MIXOUT4 ->SPDIFOUT0
============================================================
vortex: IRQ fifo error
i=0 nr_ch=4
en=0 channel=03 source=00 dest=40
delroutes channel=03 route0=0040 route1=0040
282c0 = 00000041
en=0 channel=11 source=20 dest=52
delroutes channel=11 route0=2052 route1=2052
28144 = 00002153
i=1 nr_ch=4
en=0 channel=03 source=00 dest=41
delroutes channel=03 route0=0041 route1=0041
282c0 = 00000042
en=0 channel=11 source=21 dest=53
delroutes channel=11 route0=2153 route1=2153
28144 = 00002254
i=2 nr_ch=4
en=0 channel=03 source=00 dest=42
delroutes channel=03 route0=0042 route1=0042
282c0 = 00000043
en=0 channel=11 source=22 dest=54
delroutes channel=11 route0=2254 route1=2254
28144 = 00002355
i=3 nr_ch=4
en=0 channel=03 source=00 dest=43
delroutes channel=03 route0=0043 route1=0043
282c0 = 0000ffff
en=0 channel=11 source=23 dest=55
delroutes channel=11 route0=2355 route1=2355
28144 = 0000ffff
ADB_RTBASE and ADB_CHNBASE============================(3)===
28100 : 00000041 ADBDMA0 ->SRCIN1 <- not clean up
28104 : 00000042 ADBDMA0 ->SRCIN2 <- not clean up
28108 : 00000043 ADBDMA0 ->SRCIN3 <- not clean up
28140 : 00007151 CODECIN1->MIXIN1
28148 : 00002153 SRCOUT1 ->MIXIN3 <- not clean up
2814c : 00002254 SRCOUT2 ->MIXIN4 <- not clean up
28150 : 00002355 SRCOUT3 ->MIXIN5 <- not clean up
28220 : 00007f89 EQOUT1 ->CODECOUT1
28224 : 0000328c MIXOUT2 ->CODECOUT4
28230 : 0000338d MIXOUT3 ->CODECOUT5
28234 : 00007050 CODECIN0->MIXIN0
28248 : 00003593 MIXOUT5 ->SPDIFOUT1
28280 : 000031a1 MIXOUT1 ->EQIN1
28284 : 00007e88 EQOUT0 ->CODECOUT0
282f8 : 000030a0 MIXOUT0 ->EQIN0
28304 : 00003492 MIXOUT4 ->SPDIFOUT0
============================================================

Anonymous
Wed 07 Apr 2004 01:57:48 AM UTC, comment #8:

Vortex: init.... <6>done.
adb_addroutes channel=11 rnum=1
28280 - 0000ffff
282f8 - 000030a0
adb_addroutes channel=11 rnum=1
28284 - 0000ffff
28280 - 000031a1
adb_addroutes channel=11 rnum=1
28220 - 0000ffff
28284 - 00007e88
adb_addroutes channel=11 rnum=1
28224 - 0000ffff
28220 - 00007f89
adb_addroutes channel=11 rnum=1
28230 - 0000ffff
28224 - 0000328c
adb_addroutes channel=11 rnum=1
28234 - 0000ffff
28230 - 0000338d
adb_addroutes channel=11 rnum=1
28140 - 0000ffff
28234 - 00007050
adb_addroutes channel=11 rnum=1
28144 - 0000ffff
28140 - 00007151
adb_addroutes channel=14 rnum=1
28248 - 0000ffff
28304 - 00003492
adb_addroutes channel=14 rnum=1
2824c - 0000ffff
28248 - 00003593
ADB_RTBASE and ADB_CHNBASE===================(1)============
28140 : 00007151 CODECIN1->MIXIN1
28220 : 00007f89 EQOUT1 ->CODECOUT1
28224 : 0000328c MIXOUT2 ->CODECOUT4
28230 : 0000338d MIXOUT3 ->CODECOUT5
28234 : 00007050 CODECIN0->MIXIN0
28248 : 00003593 MIXOUT5 ->SPDIFOUT1
28280 : 000031a1 MIXOUT1 ->EQIN1
28284 : 00007e88 EQOUT0 ->CODECOUT0
282f8 : 000030a0 MIXOUT0 ->EQIN0
28304 : 00003492 MIXOUT4 ->SPDIFOUT0
============================================================

.............aplay stereo.wav

Channel=0
adb_addroutes channel=01 rnum=1
28100 - 0000ffff
282b8 - 00000040
adb_addroutes channel=11 rnum=1
28148 - 0000ffff
28144 - 00002052
Channel=1
adb_addroutes channel=01 rnum=1
28104 - 0000ffff
28100 - 00000041
adb_addroutes channel=11 rnum=1
2814c - 0000ffff
28148 - 00002153
ADB_RTBASE and ADB_CHNBASE===================(2)============
28100 : 00000041 ADBDMA0 ->SRCIN1
28140 : 00007151 CODECIN1->MIXIN1
28144 : 00002052 SRCOUT0 ->MIXIN2
28148 : 00002153 SRCOUT1 ->MIXIN3
28220 : 00007f89 EQOUT1 ->CODECOUT1
28224 : 0000328c MIXOUT2 ->CODECOUT4
28230 : 0000338d MIXOUT3 ->CODECOUT5
28234 : 00007050 CODECIN0->MIXIN0
28248 : 00003593 MIXOUT5 ->SPDIFOUT1
28280 : 000031a1 MIXOUT1 ->EQIN1
28284 : 00007e88 EQOUT0 ->CODECOUT0
282b8 : 00000040 ADBDMA0 ->SRCIN0
282f8 : 000030a0 MIXOUT0 ->EQIN0
28304 : 00003492 MIXOUT4 ->SPDIFOUT0
=========================================================
vortex: IRQ fifo error
Channel=0
adb_delroutes channel=01 route0=0040 route1=0040
282b8 - 00000041
adb_delroutes channel=11 route0=2052 route1=2052
28144 - 00002153
Channel=1
adb_delroutes channel=01 route0=0041 route1=0041
282b8 - 0000ffff
adb_delroutes channel=11 route0=2153 route1=2153
28144 - 0000ffff

ADB_RTBASE and ADB_CHNBASE=================(3)==============
28100 : 00000041 ADBDMA0 ->SRCIN1 <--- not clean up
28140 : 00007151 CODECIN1->MIXIN1
28148 : 00002153 SRCOUT1 ->MIXIN3 <--- not clean up
28220 : 00007f89 EQOUT1 ->CODECOUT1
28224 : 0000328c MIXOUT2 ->CODECOUT4
28230 : 0000338d MIXOUT3 ->CODECOUT5
28234 : 00007050 CODECIN0->MIXIN0
28248 : 00003593 MIXOUT5 ->SPDIFOUT1
28280 : 000031a1 MIXOUT1 ->EQIN1
28284 : 00007e88 EQOUT0 ->CODECOUT0
282f8 : 000030a0 MIXOUT0 ->EQIN0
28304 : 00003492 MIXOUT4 ->SPDIFOUT0
============================================================

The route table at stage (1) and (3) are different as vortex_adddroute() and vortex_delroute() do not work properly.

Anonymous
Sat 03 Apr 2004 04:10:22 PM UTC, comment #7:

Use vortex_adbdma_stopfifo(chip,dma) instead of vortex_adbdma_pausefifo(chip,dma) in #102971 seem to fix the bug of the front and rear speakers (gxine , speaker-test) but there will be an IRQ fifo error when playing quad sound.

vortex: start 0
vortex: IRQ fifo error
vortex: stop 0

Anonymous
Thu 01 Apr 2004 04:43:18 PM UTC, comment #6:

adb_addroutes() and adb_delroutes() cannot clean up the routes after playing sound.

Each PCM stream should keep track of the allocated adb, routes, src, mixin, mixout, wt.... and released the resources.

The Resource Manager should keep track of the available adb, routes, src, mixin , mixout, wt, ... to ensure no dead lock because of no enough resources if the driver allow multiple alsa applications to use the driver concurrently.

Anonymous
Mon 29 Mar 2004 04:13:08 AM UTC, comment #5:

You will not notice the reversal of front and rear channels when using gxine to play movie if you turn Sigmatec Surround On or 2-channels to 4-speakers Playback On as the front and rear channels are mixed by STAC9708.

Anonymous
Sun 28 Mar 2004 12:52:52 PM UTC, comment #4:

gxine downmix AC5.1 to surround40.

aplay, speaker-test and gxine can play the four channels correctly at the first time after /etc/init.d/alsasound start.
The front and rear channels are reversed afterwards.

This can be easily noticed because the movie's dialog
(center channel) are mixed to front speakers by gxine.

I can hear movie's dialog on the front speakers on the first movie, but the movie's dialog go to the rear speakers when I play another movie.

>gxine *.vob

audio_alsa_out: Audio Device name = default
audio_alsa_out: Number of channels = 4
Buffer size range from 2 to 8192
Period size range from 1 to 512
Buffer time size 48000
To choose buffer_size = 8192
To choose period_size = 1024
was set period_size = 512
was set buffer_size = 8192
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S16_LE
subformat : STD
channels : 4
rate : 48000
exact rate : 48000 (48000/1)
msbits : 16
buffer_size : 8192
period_size : 512
period_time : 10666
tick_time : 10000
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 512
xfer_align : 1
start_threshold : 512
stop_threshold : 8192
silence_threshold: 0
silence_size : 0
boundary : 1073741824
start_mode: DATA
xrun_mode: STOP
tstamp_mode: NONE
period_step: 1
sleep_min: 0
avail_min: 512
xfer_align: 1
silence_threshold: 0
silence_size: 0
boundary: 1073741824

Anonymous
Sat 27 Mar 2004 02:33:59 PM UTC, comment #3:

What is the difference betwen ADB_RTBASE and ADB_CHNBASE ?

ADB_RTBASE
28100 : 00000041 ADBDMA0 ->SRCIN1
28104 : 00000042 ADBDMA0 ->SRCIN2
28108 : 00000043 ADBDMA0 ->SRCIN3
28140 : 00007151 CODECIN1->MIXIN1
28144 : 00002052 SRCOUT0 ->MIXIN2
28148 : 00002153 SRCOUT1 ->MIXIN3
2814c : 00002254 SRCOUT2 ->MIXIN4
28150 : 00002355 SRCOUT3 ->MIXIN5
28220 : 00007f89 EQOUT1 ->CODECOUT1
28224 : 0000328c MIXOUT2 ->CODECOUT4
28230 : 0000338d MIXOUT3 ->CODECOUT5
28234 : 00007050 CODECIN0->MIXIN0
28248 : 00003593 MIXOUT5 ->SPDIFOUT1
28280 : 000031a1 MIXOUT1 ->EQIN1
28284 : 00007e88 EQOUT0 ->CODECOUT0
ADB_CHNBASE
282c0 : 00000040 ADBDMA0 ->SRCIN0
282f8 : 000030a0 MIXOUT0 ->EQIN0
28304 : 00003492 MIXOUT4 ->SPDIFOUT0
MIXER_RTBASE
21e00 : 00000011 MIXIN1->MIXOUT1
21e04 : 00000012 MIXIN1->MIXOUT2
21e08 : 00000003 MIXIN0->MIXOUT3
21e10 : 00000005 MIXIN0->MIXOUT5

Anonymous
Thu 25 Mar 2004 06:12:49 PM UTC, comment #2:

Write a routine dump_route() to dump the route between ADBDMA, SRC, MIXER and CODEC,SPDIF,SPORT.. based on au8830.h

1) Is 000000xy represent Mixer In(x) to Mixer Out(y) ?
2) Cannot find EQIN0 ???
3) Cannot find SRCIN1 ???

After default connect (/etc/init.d/alsasound start)

ADB_RTBASE
28140 : 00007151 CODECIN1->MIXIN1
28220 : 00007f89 EQOUT1 ->CODECOUT1
28224 : 0000328c MIXOUT2 ->CODECOUT4
28230 : 0000338d MIXOUT3 ->CODECOUT5
28234 : 00007050 CODECIN0->MIXIN0
28248 : 00003593 MIXOUT5 ->SPDIFOUT1
28280 : 000031a1 MIXOUT1 ->EQIN1
28284 : 00007e88 EQOUT0 ->CODECOUT0
MIXER_RTBASE
21e00 : 00000011 MIXIN1->MIXOUT1
21e04 : 00000012 MIXIN1->MIXOUT2
21e08 : 00000003 MIXIN0->MIXOUT3
21e10 : 00000005 MIXIN0->MIXOUT5
------------------------------------------------

After allocroute (when aplay out1lq.wav)

ADB_RTBASE
28104 : 00000142 ADBDMA1 ->SRCIN2
28108 : 00000143 ADBDMA1 ->SRCIN3
2810c : 00000144 ADBDMA1 ->SRCIN4
28140 : 00007151 CODECIN1->MIXIN1
28144 : 00002152 SRCOUT1 ->MIXIN2
28148 : 00002253 SRCOUT2 ->MIXIN3
2814c : 00002354 SRCOUT3 ->MIXIN4
28150 : 00002455 SRCOUT4 ->MIXIN5
28220 : 00007f89 EQOUT1 ->CODECOUT1
28224 : 0000328c MIXOUT2 ->CODECOUT4
28230 : 0000338d MIXOUT3 ->CODECOUT5
28234 : 00007050 CODECIN0->MIXIN0
28248 : 00003593 MIXOUT5 ->SPDIFOUT1
28280 : 000031a1 MIXOUT1 ->EQIN1
28284 : 00007e88 EQOUT0 ->CODECOUT0
MIXER_RTBASE
21e00 : 00000011 MIXIN1->MIXOUT1
21e04 : 00000012 MIXIN1->MIXOUT2
21e08 : 00000003 MIXIN0->MIXOUT3
21e10 : 00000005 MIXIN0->MIXOUT5
------------------------------------------------

Anonymous
Thu 25 Mar 2004 04:40:48 PM UTC, comment #1:

I'll look at that soon.
Changing front and rear channels is easy, but i'll have to figure out how to do that without messing too much.

Thanks for reporting this.

Best Regards

Manuel

Anonymous
Tue 23 Mar 2004 05:22:03 PM UTC, original submission:

Using those four channels wav files (Vortex Control Panel) in Aureal Win9x 2048 driver

It seem that rear channels go to front speakers and front channels go to rear speakers in 4 channels mode on my Super Quad Digital

>lspci -vvn


02:0e.0 Class 0401: 12eb:0002 (rev fe)
Subsystem: 12eb:0088
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (1000ns min, 3000ns max), cache line size 08
Interrupt: pin A routed to IRQ 6
Region 0: Memory at f1000000 (32-bit, non-prefetchable) [size=256K]
Region 1: I/O ports at d400 [size=8]
Region 2: I/O ports at d000 [size=8]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

>aplay out*q.wav

Playing WAVE 'out1lq.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Channels 4
Playing WAVE 'out1rq.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Channels 4
Playing WAVE 'out2lq.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Channels 4
Playing WAVE 'out2rq.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Channels 4

http://alsa.opensrc.org/index.php?page=Speaker-Test

>./speaker-test -c 4


speaker-test 0.0.4

Playback device is plughw:0,0
Stream parameters are 44100Hz, S16_LE, 4 channels
Sine wave rate is 440.0000Hz
Rate set to 44100Hz (requested 44100Hz)
Buffer size range from 2 to 8192
Period size range from 1 to 512
Buffer time size 575
To choose buffer_size = 568
To choose period_size = 71
was set period_size = 64
was set buffer_size = 576
- Front Left
- Front Right
- Rear Left
- Rear Right

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup