[ALSA - driver 0001827]: cannot set rate to 44100 Hz with full duplex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1827> 
======================================================================
Reported By:                mdeboer
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1827
Category:                   PCI - ens1371
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             
======================================================================
Date Submitted:             02-07-2006 11:12 CET
Last Modified:              07-22-2006 05:20 CEST
======================================================================
Summary:                    cannot set rate to 44100 Hz with full duplex
Description: 
I try to run the alsa-lib/test/latency.c test, and it exits with

  Rate doesn't match (requested 44100Hz, get 0Hz)
  Unable to set parameters for playback stream: Invalid argument

If I force the application to continue at this point (commenting the
return -EINVAL; line), it seems to work ok. But what I find strange is
that the exact rates for I/O are not identical:

  Hardware PCM card 0 'Ensoniq AudioPCI' device 0 subdevice 0
  Its setup is:
    stream       : PLAYBACK
    ...
    exact rate   : 44101 (1445100000/32768)
    ...
  Hardware PCM card 0 'Ensoniq AudioPCI' device 0 subdevice 0
  Its setup is:
    stream       : CAPTURE
    ...
    exact rate   : 44099.8 (1572864000/35666)
    ...

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

----------------------------------------------------------------------
 Raymond - 07-22-06 05:20 
----------------------------------------------------------------------
It seem that supported rates are not integer, just fraction

static struct snd_ratnum es1371_adc_clock = {
	.num = 48000 << 15,
	.den_min = 32768, 
	.den_max = 393216,
	.den_step = 1,
};

Issue History
Date Modified  Username       Field                    Change              
======================================================================
02-07-06 11:12 mdeboer        New Issue                                    
07-22-06 05:20 Raymond        Note Added: 0011165                          
======================================================================



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux