src/audio/SDL_mixer_m68k.h
author Patrice Mandin <patmandin@gmail.com>
Sun, 28 Aug 2011 19:51:27 +0200
branchSDL-1.2
changeset 5657 529d23724144
parent 4159 a1b03ba2fcd0
child 6137 4720145f848b
permissions -rw-r--r--
Use proper m68k defines from gcc
patmandin@633
     1
/*
patmandin@633
     2
    SDL - Simple DirectMedia Layer
slouken@4159
     3
    Copyright (C) 1997-2009 Sam Lantinga
patmandin@633
     4
patmandin@633
     5
    This library is free software; you can redistribute it and/or
patmandin@633
     6
    modify it under the terms of the GNU Library General Public
patmandin@633
     7
    License as published by the Free Software Foundation; either
patmandin@633
     8
    version 2 of the License, or (at your option) any later version.
patmandin@633
     9
patmandin@633
    10
    This library is distributed in the hope that it will be useful,
patmandin@633
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
patmandin@633
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
patmandin@633
    13
    Library General Public License for more details.
patmandin@633
    14
patmandin@633
    15
    You should have received a copy of the GNU Library General Public
patmandin@633
    16
    License along with this library; if not, write to the Free
patmandin@633
    17
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
patmandin@633
    18
patmandin@633
    19
    Sam Lantinga
patmandin@633
    20
    slouken@libsdl.org
patmandin@633
    21
*/
slouken@1402
    22
#include "SDL_config.h"
patmandin@633
    23
patmandin@633
    24
/*
patmandin@633
    25
	m68k assembly mix routines
patmandin@633
    26
patmandin@633
    27
	Patrice Mandin
patmandin@633
    28
*/
patmandin@633
    29
patmandin@5657
    30
#if (defined(__m68k__) && !defined(__mcoldfire__)) && defined(__GNUC__)
patmandin@633
    31
void SDL_MixAudio_m68k_U8(char* dst,char* src, long len, long volume, char* mix8);
patmandin@633
    32
void SDL_MixAudio_m68k_S8(char* dst,char* src, long len, long volume);
patmandin@633
    33
patmandin@633
    34
void SDL_MixAudio_m68k_S16MSB(short* dst,short* src, long len, long volume);
patmandin@633
    35
void SDL_MixAudio_m68k_S16LSB(short* dst,short* src, long len, long volume);
patmandin@633
    36
#endif