src/audio/android/SDL_androidaudio.h
author Paul Hunkin <paul@bieh.net>
Tue, 27 Jul 2010 11:34:43 +0200
changeset 4718 79aa6c61f33b
child 4995 9f9bea41e88f
permissions -rw-r--r--
Added stub android sound system
paul@4718
     1
/*
paul@4718
     2
    SDL - Simple DirectMedia Layer
paul@4718
     3
    Copyright (C) 1997-2010 Sam Lantinga
paul@4718
     4
paul@4718
     5
    This library is free software; you can redistribute it and/or
paul@4718
     6
    modify it under the terms of the GNU Lesser General Public
paul@4718
     7
    License as published by the Free Software Foundation; either
paul@4718
     8
    version 2.1 of the License, or (at your option) any later version.
paul@4718
     9
paul@4718
    10
    This library is distributed in the hope that it will be useful,
paul@4718
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
paul@4718
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
paul@4718
    13
    Lesser General Public License for more details.
paul@4718
    14
paul@4718
    15
    You should have received a copy of the GNU Lesser General Public
paul@4718
    16
    License along with this library; if not, write to the Free Software
paul@4718
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
paul@4718
    18
paul@4718
    19
    Sam Lantinga
paul@4718
    20
    slouken@libsdl.org
paul@4718
    21
*/
paul@4718
    22
#include "SDL_config.h"
paul@4718
    23
paul@4718
    24
#ifndef _SDL_androidaudio_h
paul@4718
    25
#define _SDL_androidaudio_h
paul@4718
    26
paul@4718
    27
#include "../SDL_sysaudio.h"
paul@4718
    28
paul@4718
    29
/* Hidden "this" pointer for the audio functions */
paul@4718
    30
#define _THIS	SDL_AudioDevice *this
paul@4718
    31
paul@4718
    32
struct SDL_PrivateAudioData
paul@4718
    33
{
paul@4718
    34
    /* The file descriptor for the audio device */
paul@4718
    35
    Uint8 *mixbuf;
paul@4718
    36
    Uint32 mixlen;
paul@4718
    37
    Uint32 write_delay;
paul@4718
    38
    Uint32 initial_calls;
paul@4718
    39
};
paul@4718
    40
paul@4718
    41
#endif /* _SDL_androidaudio_h */
paul@4718
    42
/* vi: set ts=4 sw=4 expandtab: */