Re: Set fragment size for USB sound card

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

 



The exact problem I'm trying to solve is specified in my previous posts,
which for some reason aren't threaded with this one on the SF website:

http://sourceforge.net/mailarchive/forum.php?thread_name=1176015858.4497.9.camel%40localhost.localdomain&forum_name=alsa-user

...this followed from a post here:
http://www.linuxquestions.org/questions/showthread.php?t=540205

But to answer your question, if I try:

--
$ alsaplayer -i text -o alsa -d hw:2 -f
4096 /usr/share/sounds/generic.wav
Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 44100
PERIOD_TIME: (23219 23220)
PERIOD_SIZE: 1024
PERIOD_BYTES: 4096
PERIODS: 8
BUFFER_TIME: (185759 185760)
BUFFER_SIZE: 8192
BUFFER_BYTES: 32768
TICK_TIME: 1000
failed to configure output device...trying OSS


...done playing
--

...and the sound comes through my laptop speakers. Using '-f 2048' works
fine (sound through headphones, no errors).

Cheers
- Jason


On Fri, 2007-04-13 at 22:28 -0400, Lee Revell wrote:
> On 4/13/07, Jason Heeris <heerij01@xxxxxxxxxxxxxxxxxx> wrote:
> > I've kept trying different configurations, but nothing works. All the
> > examples I could find are either trivial or amazingly complicated. If
> > anyone at all could send me some pointers, or even where to look, I
> > would appreciate it.
> 
> Please be more specific about the exact problem you're trying to
> solve.  In what way does it "not work" with a larger period size?
> 
> Lee


-------------------------------------------------------------------------
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-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux