Skip to contentSkip to conversation

: au88x0 wt synth

ALSA - driver 0001593 [email protected] 1 participant 1 message Dec 21, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1593>
======================================================================

Reported By:                Raymond
Assigned To:                mjander
======================================================================
Project:                    ALSA - driver
Issue ID:                   1593
Category:                   PCI - au88x0
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
Distribution:               Fedora Core 1
Kernel Version:             2.4.22-1.2199.nptl
======================================================================
Date Submitted:             11-23-2005 17:16 CET
Last Modified:              12-21-2005 10:10 CET

======================================================================
Summary: au88x0 wt synth
Description:
After applied the patch as described in

http://article.gmane.org/gmane.linux.alsa.devel/27095

Sound (like a monster roaring) is heard when using aplay through device 3 of au8830 with the mono files from alsa-utils-1.0.10/speaker-test/samples

The sound repeat 7 times and stop.

Refer to the strace,

Do the DMA transfer occur when using hw:0,3 ?

======================================================================

----------------------------------------------------------------------
Raymond - 12-11-05 13:21
----------------------------------------------------------------------
Do anyone know how to multiply 32bits x 32bits in I386/AMD64 ?

We need to obtain the upper and lower 32 bits of the 64-bits product to calculate the wt parameters.

	((sr << 0xf) * 0x57619F1)

in au88x0_synth.c

static void vortex_wt_SetFrequency(vortex_t * vortex, int wt, unsigned int sr)

----------------------------------------------------------------------
Raymond - 12-21-05 10:10
----------------------------------------------------------------------
Can anyone explain the usage of the function precise_resolution in snd_timer_hardware ?

The hardware timer (VORTEX_SMP_TIMER) in au88x0 chips seem to have 48000Hz resolution and it also has a high-resolution clock ( VORTEX_SMP_TIME ) which is 256x48000 Hz.

Issue History
Date Modified Username Field Change
======================================================================

11-23-05 17:16 Raymond        New Issue                                    
11-23-05 17:16 Raymond        Distribution              => Fedora Core 1   
11-23-05 17:16 Raymond        Kernel Version            => 2.4.22-1.2199.nptl
11-23-05 20:54 mjander        Note Added: 0006832                          
11-25-05 07:57 Raymond        Note Added: 0006847                          
11-30-05 08:48 Raymond        Note Added: 0006875                          
12-11-05 13:21 Raymond        Note Added: 0006976                          
12-21-05 10:10 Raymond        Note Added: 0007108                          

======================================================================

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click