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/ _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel