Re: 5.1 surround sound playback XRUN / snd_pcm_writei() didn't unblock immediately / small 114 msec buffer

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

 



Daniel Yek wrote:
> At 06:09 AM 10/6/2006, Clemens Ladisch wrote:
> >Daniel Yek wrote:
> > > I opened "surround51" PCM device and set the sampling rate to 48000, S16_LE
> > > format.
> >
> >Better use "plug:surround51".  There are chips like ICE1712 that do not
> >support any format except S32_LE.
> 
> It would be great if somebody could suggest an easy way for a media 
> application to identify if the system is 5.1-channels capable. After making 
> sure that 5.1-channels playback is preferable over 2-channels playback, I 
> can then use "plug:surround51" PCM device. I assume that Plug will convert 
> all 6 channels without dropping any here. If not, it is not usable.
> 
> Right now, I'm depending on opening "surround51" PCM device to fail to 
> indicate that the system isn't 5.1-channels capable. "plug:surround51" PCM 
> wouldn't open-fail even if the system isn't 5.1-channels capable, resulting 
> in a poor playback experience. Do you have a suggestion for me?

The configuration files won't define a "surround51" device if the
hardware is not capable of accepting 5.1 sound, so opening
"plug:surround51" should fail as expected.


HTH
Clemens

-------------------------------------------------------------------------
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