Skip to contentSkip to conversation

: ymfpci seems to export wrong values for period_count/period_size/buffer_size

ALSA - driver 0000802 [email protected] 1 participant 1 message Jan 19, 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=802>
======================================================================
Reported By: slomosnail
Assigned To:
======================================================================

Project:                    ALSA - driver
Issue ID:                   802
Category:                   PCI - ymfpci
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             
======================================================================
Date Submitted:             01-10-2005 18:42 CET
Last Modified:              01-19-2005 14:32 CET

======================================================================
Summary: ymfpci seems to export wrong values for
period_count/period_size/buffer_size
Description:
See here: http://bugzilla.gnome.org/show_bug.cgi?id=162024
======================================================================

----------------------------------------------------------------------
LeRoutier - 01-18-05 13:28
----------------------------------------------------------------------
gst-plugins CVS now uses those min/max probing functions :
snd_pcm_hw_params_get_[rate/periods/period_size]_[min/max]

to probe the hardware caps.

unfortunatly, it seems that they return garbage for this driver :
period_count : MIN= 0 & MAX=204522253
period_size : MIN=22 & MAX=4294967295
buffer_size : MIN=10 & MAX=4294967294

so, unless i misused them in gst-plugins probing code, values this driver return are bad. (ad period_count < 3 won't work with this hardware)

i used those on my own hardware, and i got (nforce2/i810_ac97)
hw:0 from 1 to 1024 (real device)
plughw:0 from 0 to 4294967295 (software device)

----------------------------------------------------------------------
tiwai - 01-19-05 14:32
----------------------------------------------------------------------
The values are really bogus.
Could you create a small testcase to reproduce this?

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

01-10-05 18:42 slomosnail     New Issue                                    
01-11-05 16:48 tiwai          Note Added: 0003156                          
01-18-05 13:28 LeRoutier      Note Added: 0003248                          
01-18-05 14:40 LeRoutier      Issue Monitored: LeRoutier                    
01-19-05 14:32 tiwai          Note Added: 0003270                          

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

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt