helpThe OpenVortex Project - Support: sr #102938, #define VORTEX_IS_QUAD(x)...

 
 

sr #102938: #define VORTEX_IS_QUAD(x) ((x->codec == NULL) ? 0 : (x->codec->ext_id|0x80))

Submitted by:  None
Submitted on:  Tue 23 Mar 2004 05:08:27 PM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 4 - ImportantStatus: 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 22 Jun 2004 08:04:00 AM UTC, comment #7:

Some au8830 has stereo codec

http://lists.gnu.org/archive/html/openvortex-dev/2003-04/msg00066.html

Anonymous
Sun 30 May 2004 02:09:18 PM UTC, comment #6:

snd_vortex_capture_ops is not defined in au88x0_pcm.c

snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK,
&snd_vortex_playback_ops);
if (idx == VORTEX_PCM_ADB)
snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE,
&snd_vortex_playback_ops);

Anonymous
Sun 30 May 2004 12:01:09 PM UTC, comment #5:

alsa-driver-1.0.5

Why the subdevices_count of pcm0c (capture stream) is 32 ?

> cat /proc/asound/au8830/pcm0c/info

card: 0
device: 0
subdevice: 0
stream: CAPTURE
id: AU88x0 ADB
name: adb
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 32
subdevices_avail: 32

> ls /proc/asound/au8830/pcm0c/

info sub10 sub13 sub16 sub19 sub21 sub24 sub27 sub3 sub4 sub7
sub0 sub11 sub14 sub17 sub2 sub22 sub25 sub28 sub30 sub5 sub8
sub1 sub12 sub15 sub18 sub20 sub23 sub26 sub29 sub31 sub6 sub9

Anonymous
Sat 10 Apr 2004 07:59:42 AM UTC, comment #4:

Linux PCI ID Repository

Subsystems for device 12eb:0002: Vortex 2

http://pciids.sourceforge.net/iii/?i=12eb0002

Anonymous
Fri 09 Apr 2004 03:18:41 AM UTC, comment #3:

There are 5 subsystem device id for Diamond Sound II in /usr/src/linux/drivers/pci/pci.ids

What is the subsystem vendor id and subsystem device id of your MX300 ?

Do your MX300 has Sigmatec STAC9708T LA4 codec ?

http://mail.gnu.org/archive/html/openvortex-dev/2003-07/msg00077.html

It's a waste of those rare resources :- mixerin and mixerout when you can use the stereo to 4 speaker function of Sigmatec AC97 codec. (The user can select whether to have output on OUT2 using alsamixer)

Do any au8810 has quad AC97 codec ?

Do any au8830 has stereo AC97 codec ?

Sigmtac STAC9721 is a stereo codec but have LINE_OUT and LNLVL_OUT.

Anonymous
Sun 04 Apr 2004 10:05:52 AM UTC, comment #2:

There is no SPDIFOUT2 or SPDIFOUT3

/* Make playback routes. */
for (i = 0; i < nr_ch; i++) {
.
.
.
#ifndef CHIP_AU8820
.
.
.
if (stream->type == VORTEX_PCM_SPDIF)
vortex_route(vortex, en, 0x14,
ADB_DMA(stream->dma),
ADB_SPDIFOUT(i));
#endif
}

Anonymous
Thu 25 Mar 2004 04:44:09 PM UTC, comment #1:

Thanks again. Of course it should have been "&" and not "|".
Your bug reports are pure gold! Thanks!

Best Regards

Manuel Jander

Anonymous
Tue 23 Mar 2004 05:08:27 PM UTC, original submission:

VORTEX_IS_QUAD(X) will alway be non-zero.

And the following code in the routine will send PCM to AC97 link to non-existing SDAC for au8820 (copy front channels to rear channels)

static int
vortex_adb_allocroute(vortex_t * vortex, int dma, int nr_ch, int dir, int type)
{
...

if (stream->type != VORTEX_PCM_SPDIF && stream->type != VORTEX_PCM_A3D) {
ch_top = (VORTEX_IS_QUAD(vortex) ? 4 : 2);
for (i = nr_ch; i < ch_top; i++) {
vortex_connection_mixin_mix(vortex, en,
mix[i % nr_ch],
MIX_PLAYB(i), 0);
#ifndef CHIP_AU8820
vortex_connection_mixin_mix(vortex, en,
mix[i % nr_ch],
MIX_SPDIF(i % 2),
0);
vortex_mix_setinputvolumebyte(vortex,
MIX_SPDIF(i % 2),
mix[i % nr_ch],
MIX_DEFIGAIN);
#endif
}
}

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