All of lore.kernel.org
 help / color / mirror / Atom feed
From: "David Härdeman" <david@2gen.com>
To: linux-kernel@vger.kernel.org
Subject: Problem with usb-audio introduced between 2.6.13 and 2.6.14-rc1
Date: Sat, 22 Oct 2005 23:56:50 +0200	[thread overview]
Message-ID: <20051022215649.GA7598@hansolo> (raw)

After updating the kernel on one of my computers today I discovered that 
usb-audio via snd-pcm-oss over the snd-usb-audio ALSA drivers stopped 
working (worked with 2.6.13, doesn't with 2.6.14-rc[12345]).

The weird part is that it only stopped working when using the driver 
through the oss emulation and only for some programs. I've tried it with 
all apps with native alsa support that I had installed, and all of them 
worked. I also tried it with a few different apps with oss support, and 
most of them worked (xine and mplayer) while one failed (mythmusic).

The symptoms is that no sound is heard while the app seems to believe 
that everything is just fine. It also progresses through the song at 
about 20x normal speed (i.e. it thinks its done playing a 4 minute song 
after 12 seconds). The only difference I can come up with is that xine 
and mplayer probably up-sample the audio to 48.000Hz while MythMusic 
tries to play at 44.100Hz (the device is a TerraTec external USB <-> 
SPDIF interface).

I've used git's bisect command to try to find the exact problem, and it 
seems to have been introduced by this commit:	
7efd8bc800324a967a37e8a425433468b7f06adb
see also:
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7efd8bc800324a967a37e8a425433468b7f06adb
patch name: [ALSA] usb-audio: double-buffer all playback data

I'm not sure on how to fix it since the commit is quite big and cannot 
be simply reversed with the current tree as there have been other 
patches applied to the file afterwards. Comments/suggestions welcome...

Regards,
David Härdeman
david (at) 2gen (dot) com

PS
Please CC me on any replies

             reply	other threads:[~2005-10-22 21:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-22 21:56 David Härdeman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-10-22 22:13 Problem with usb-audio introduced between 2.6.13 and 2.6.14-rc1 David Härdeman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051022215649.GA7598@hansolo \
    --to=david@2gen.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.