All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juergen Kreileder <jk@blackdown.de>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: ioctl32 on ppc64
Date: Tue, 14 Sep 2004 17:11:37 +0200	[thread overview]
Message-ID: <871xh4q40m.fsf@blackdown.de> (raw)
In-Reply-To: <s5hu0u0x6qy.wl@alsa2.suse.de> (Takashi Iwai's message of "Tue, 14 Sep 2004 16:30:45 +0200")

Takashi Iwai <tiwai@suse.de> writes:

> At Tue, 14 Sep 2004 16:00:43 +0200,
> I wrote:
>> Could you try the attached patch?
>> With the patch, mmapping of PCM status/control records is disabled
>> on 32bit mode.
>
> Sorry, it included a typo.
> The fixed patch is below.

Thanks, it works now!
I just had to make one small fix:

--- sound/core/ioctl32/pcm32.c.orig     2004-09-14 17:01:41.817995464 +0200
+++ sound/core/ioctl32/pcm32.c  2004-09-14 17:01:48.864989384 +0200
@@ -480,7 +480,7 @@ enum {
        SNDRV_PCM_IOCTL_READN_FRAMES32 = _IOR('A', 0x53, struct sndrv_xfern32),
        SNDRV_PCM_IOCTL_HW_REFINE_OLD32 = _IOWR('A', 0x10, struct sndrv_pcm_hw_params_old32),
        SNDRV_PCM_IOCTL_HW_PARAMS_OLD32 = _IOWR('A', 0x11, struct sndrv_pcm_hw_params_old32),
-       SNDRV_PCM_IOCTL_SYNC_PTR32 = _IOWR('A', 0x23, struct sndrv_pcm_sync_ptr),
+       SNDRV_PCM_IOCTL_SYNC_PTR32 = _IOWR('A', 0x23, struct sndrv_pcm_sync_ptr32),
 
 };
 
=

So rate conversion now works in the mixed 32-/64-bit environment.
dmix still doesn't work but that happens in pure 32-bit and 64-bit
environments too.


        Juergen

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


-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m

  reply	other threads:[~2004-09-14 15:11 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
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 [this message]
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=871xh4q40m.fsf@blackdown.de \
    --to=jk@blackdown.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=tiwai@suse.de \
    /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.