From: Takashi Iwai <tiwai@suse.de>
To: Niklas Werner <bergtroll@gmx.li>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: usb-audio
Date: Wed, 29 Oct 2003 19:24:03 +0100 [thread overview]
Message-ID: <s5h8yn3zyv0.wl@alsa2.suse.de> (raw)
In-Reply-To: <200310282018.35309.bergtroll@gmx.li>
At Tue, 28 Oct 2003 20:18:35 +0100,
Niklas Werner wrote:
>
> Here we go again,
>
> Am Dienstag, 28. Oktober 2003 19:25 schrieb Takashi Iwai:
>
> > > hmm, then something wrong in the converter routine...
> > > needs to take a deeper look.
> >
> > i found a bug regarding the plugin but it must be another bug from the
> > above problem.
> >
> > segfault is a bit puzzling. could you try the attached patch to see
> > the parameters? or, even better, check the values in gdb's
> > backtrace.
>
> Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
> Video: no video
> Starting playback...
> XXX linear_convert: dst=0x104d3dc0/0, src=0x7fffc020/0, ch=2,
> frames=16384, idx=35
>
> ===========
> gdb:
>
> Starting playback...
> XXX linear_convert: dst=0x104d1f18/0, src=0x7fffcf40/0, ch=2,
> frames=16384, idx= 35
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 14666)]
> snd_pcm_linear_convert (dst_areas=0x104d1f18, dst_offset=0,
> src_areas=0x7fffcf40, src_offset=0, channels=2, frames=16384,
> convidx=35)
> at plugin_ops.h:299
> 299 conv_1234_xx21: as_u16(dst) = bswap_16(as_u32c(src) >> 16); goto
> CONV_EN D;
hmm, it seems that a wrong label is used. the label should be
conv_xx12_xx21 (= conv_labels[35]). something is really broken.
could you check stepwise the loop there?
> >
> >
> > also, what happens if running mplayer with mmap option, i.e.
> >
> > % mplayer -ao alsa9:emi26:mmap
> >
> horrible, distorted sound: (sounds like computer is too slow to deliver
> the samples)
> ALSA lib pcm_hw.c:494:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Die
> Dateizugriffsnummer ist ein schlechter Verfassung
>
> meaning: "File descriptor in bad state" (whoever sneaked in this
> translation...)
(well, good to learn german, at least ;)
thanks for check.
can you hear a clear sound with aplay -M ?
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
next prev parent reply other threads:[~2003-10-29 18:24 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-27 18:03 usb-audio Antonio Willy Malara
2003-10-27 18:16 ` usb-audio Takashi Iwai
2003-10-27 19:53 ` usb-audio Antonio Willy Malara
2003-10-28 10:11 ` usb-audio Takashi Iwai
2003-10-28 10:41 ` usb-audio Niklas Werner
2003-10-28 11:10 ` usb-audio Takashi Iwai
2003-10-28 11:48 ` usb-audio Niklas Werner
2003-10-28 12:13 ` usb-audio Takashi Iwai
2003-10-28 12:42 ` usb-audio Niklas Werner
2003-10-28 13:28 ` usb-audio Takashi Iwai
2003-10-28 18:25 ` usb-audio Takashi Iwai
2003-10-28 19:18 ` usb-audio Niklas Werner
2003-10-29 18:24 ` Takashi Iwai [this message]
2003-10-29 22:26 ` usb-audio Niklas Werner
2003-10-30 12:17 ` usb-audio Takashi Iwai
2003-10-30 12:42 ` usb-audio Niklas Werner
2003-10-30 19:46 ` usb-audio Takashi Iwai
2003-10-31 8:23 ` usb-audio Niklas Werner
2003-10-31 11:02 ` usb-audio Takashi Iwai
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=s5h8yn3zyv0.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=bergtroll@gmx.li \
/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.