Re: [Alsa-user] Set fragment size for USB sound card

2007-05-13 Thread Jason Heeris
On Mon, 2007-04-16 at 11:23 -0400, Lee Revell wrote: > On 4/14/07, Jason Heeris <[EMAIL PROTECTED]> wrote: > > On Sat, 2007-04-14 at 19:52 -0400, Lee Revell wrote: > > > That's an alsaplayer bug, it seems to assume that ALSA can handle any > > > period size it asks for then falls back to OSS if it

Re: [Alsa-user] Set fragment size for USB sound card

2007-04-16 Thread Lee Revell
On 4/14/07, Jason Heeris <[EMAIL PROTECTED]> wrote: > On Sat, 2007-04-14 at 19:52 -0400, Lee Revell wrote: > > That's an alsaplayer bug, it seems to assume that ALSA can handle any > > period size it asks for then falls back to OSS if it fails. The app > > should try a different period size or ask

Re: [Alsa-user] Set fragment size for USB sound card

2007-04-14 Thread Jason Heeris
On Sat, 2007-04-14 at 19:52 -0400, Lee Revell wrote: > That's an alsaplayer bug, it seems to assume that ALSA can handle any > period size it asks for then falls back to OSS if it fails. The app > should try a different period size or ask ALSA for a valid one. But none of them do. XMMS in particu

Re: [Alsa-user] Set fragment size for USB sound card

2007-04-14 Thread Lee Revell
On 4/13/07, Jason Heeris <[EMAIL PROTECTED]> wrote: > 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_

Re: [Alsa-user] Set fragment size for USB sound card

2007-04-13 Thread Jason Heeris
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 pos

Re: [Alsa-user] Set fragment size for USB sound card

2007-04-13 Thread Lee Revell
On 4/13/07, Jason Heeris <[EMAIL PROTECTED]> 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

Re: [Alsa-user] Set fragment size for USB sound card

2007-04-13 Thread Jason Heeris
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. Thanks, Jason On Tue, 2007-04-10 at 08:48 +0800, Jason Heeris wrote:

Re: [Alsa-user] Set fragment size for USB sound card

2007-04-09 Thread Jason Heeris
But will this still allow ALSA to revert to the laptop speakers when the card is not plugged in? And will it work when the index of the card changes, seemingly arbitrarily? I attempted to define a slave PCM as follows, but with no success: -- pcm.usbtest { type dmix ipc_key 192837

Re: [Alsa-user] Set fragment size for USB sound card

2007-04-09 Thread Michael Bourgeous
You may look for settings like "playback buffer" or "buffer size". One option you might try is running jackd with a buffer size of 512 or 1024, and using an .asoundrc file in your home directory to create a jackd PCM and set it as the default PCM. Mike Bourgeous On 4/8/07, Jason Heeris <[EMAIL PR