|
//*******************************************************************
/*
Solution: NerdkillPocket
Project: NerdkillPocket
File: RISoundReader.cs
Copyright 2003, 2004, Raphael MOLL.
This file is part of NerdkillPocket.
NerdkillPocket is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
NerdkillPocket is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with NerdkillPocket; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
//*******************************************************************
using System;
//*********************************************
namespace Alfray.Nerdkill.Platform.RPocketSound
{
//***************************************************
/// <summary>
/// The RISoundReader interface allows the player to get a buffer
/// of sound, whatever the sound being.
/// </summary>
//***************************************************
public interface RISoundReader: IDisposable
{
//-------------------------------------------
//----------- Public Constants --------------
//-------------------------------------------
//-------------------------------------------
//----------- Public Properties -------------
//-------------------------------------------
//-------------------------------------------
//----------- Public Methods ----------------
//-------------------------------------------
int Size();
bool Read(byte[] destination, int byte_offset, int byte_size);
//-------------------------------------------
//----------- Private Methods ---------------
//-------------------------------------------
//-------------------------------------------
//----------- Private Attributes ------------
//-------------------------------------------
} // class interface RISoundReader
} // namespace Alfray.Nerdkill.Platform.RPocketSound
//---------------------------------------------------------------
// [C# Template RM 20040516]
// $Log: RISoundReader.cs,v $
// Revision 1.2 2004/05/26 08:48:13 ralf
// Fixes in WaveOut mixer.
//
// Revision 1.1 2004/05/24 14:24:44 ralf
// WinCE's WaveOut sound threaded mixer.
//
//---------------------------------------------------------------
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Raphael is a senior software engineer with a background in electronics engineering.
He enjoys programming in C++ since 1994.
He developed professional software for the BeOS and now focuses on Windows, MacOS and Linux software development.
He uses C++, C#, Java,VB.Net, PHP, Bash and Perl on a regular basis. He is familiar with C, Objective-C, VB6, Python, ML, Haskell, Lisp, Scheme, some obsolete languages (Basic and Pascal) and x86/Motorola assembly languages.
Raphael is a big fan of the .Net platform.
A number of open source personal projects can be found on his web site.