All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juergen Kreileder <jk@blackdown.de>
To: alsa-devel@lists.sourceforge.net
Subject: Re: ioctl32 on ppc64
Date: Tue, 14 Sep 2004 01:38:00 +0200	[thread overview]
Message-ID: <87acvtpwo7.fsf@blackdown.de> (raw)
In-Reply-To: <87fz5notfg.fsf@blackdown.de> (Juergen Kreileder's message of "Mon, 13 Sep 2004 03:21:07 +0200")

Juergen Kreileder <jk@blackdown.de> writes:

> Doing rate conversion with a plugin defined in .asoundrc works for
> the pure 32-bit and 64-bit cases but not for the mixed 32-bit/64-bit
> case, it fails with "ALSA lib pcm_hw.c:549:(snd_pcm_hw_start)
> SNDRV_PCM_IOCTL_START failed: Broken pipe":

This seems to be related to the mmap mode.  "aplay -vDhw:0 48000.wav"
works both with 32-bit and 64-bit versions of aplay but "aplay
-MvDhw:0 48000.wav" only works with the 64-bit version.  The 32-bit
version fails with:

$ aplay -MvDhw:0 48000.wav 
Playing WAVE '48000.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
Hardware PCM card 0 'SB Audigy 2 NX' device 0 subdevice 0

Its setup is:
stream       : PLAYBACK
access       : MMAP_INTERLEAVED
format       : S16_LE
subformat    : STD
channels     : 2
rate         : 48000
exact rate   : 48000 (48000/1)
msbits       : 16
buffer_size  : 16384
period_size  : 4096
period_time  : 85333
tick_time    : 1000
tstamp_mode  : NONE
period_step  : 1
sleep_min    : 0
avail_min    : 4096
xfer_align   : 4096
start_threshold  : 16384
stop_threshold   : 16384
silence_threshold: 0
silence_size : 0
boundary     : 0
ALSA lib pcm_hw.c:549:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
Aborted by signal Interrupt...


        Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux/java2-status/


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php

  reply	other threads:[~2004-09-13 23:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-13  1:21 ioctl32 on ppc64 Juergen Kreileder
2004-09-13 23:38 ` Juergen Kreileder [this message]
2004-09-14 10:39 ` Takashi Iwai
2004-09-14 14:00   ` Takashi Iwai
2004-09-14 14:30     ` Takashi Iwai
2004-09-14 15:11       ` Juergen Kreileder
2004-09-15  9:31         ` 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=87acvtpwo7.fsf@blackdown.de \
    --to=jk@blackdown.de \
    --cc=alsa-devel@lists.sourceforge.net \
    /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.