[PD-cvs] pd/portaudio/src/hostapi/wmme pa_win_wmme.c,NONE,1.1
Miller Puckette
millerpuckette at users.sourceforge.net
Sun Aug 19 01:49:35 CEST 2007
Update of /cvsroot/pure-data/pd/portaudio/src/hostapi/wmme
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19525/portaudio/src/hostapi/wmme
Added Files:
pa_win_wmme.c
Log Message:
CVS upload mistakes
--- NEW FILE: pa_win_wmme.c ---
/*
* $Id: pa_win_wmme.c,v 1.1 2007/08/18 23:49:33 millerpuckette Exp $
* pa_win_wmme.c
* Implementation of PortAudio for Windows MultiMedia Extensions (WMME)
*
* PortAudio Portable Real-Time Audio Library
* Latest Version at: http://www.portaudio.com
*
* Authors: Ross Bencina and Phil Burk
* Copyright (c) 1999-2000 Ross Bencina and Phil Burk
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
[...3607 lines suppressed...]
HWAVEOUT PaWinMME_GetStreamOutputHandle( PaStream* s, int handleIndex )
{
PaWinMmeStream *stream;
PaError result = GetWinMMEStreamPointer( &stream, s );
if( result == paNoError
&& PA_IS_OUTPUT_STREAM_(stream)
&& handleIndex >= 0
&& (unsigned int)handleIndex < stream->output.deviceCount )
return ((HWAVEOUT*)stream->output.waveHandles)[handleIndex];
else
return 0;
}
More information about the Pd-cvs
mailing list