Specificy that most of the sound output code falls under

a different license.
This commit is contained in:
gameblabla 2019-07-16 14:43:32 +02:00
parent b822a8db22
commit eeeabeaf51
No known key found for this signature in database
GPG Key ID: B24EFBB23B5F76CB
7 changed files with 52 additions and 3 deletions

19
docs/MIT_license.txt Normal file
View File

@ -0,0 +1,19 @@
Copyright (c) 2019 Gameblabla
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:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -1,3 +1,9 @@
/*
* Alsa output sound code.
* License : MIT
* See docs/MIT_license.txt for more information.
*/
#include <stdio.h> #include <stdio.h>
#include <stdint.h> #include <stdint.h>
#include <alsa/asoundlib.h> #include <alsa/asoundlib.h>

View File

@ -1,3 +1,9 @@
/*
* libao output sound code.
* License : MIT
* See docs/MIT_license.txt for more information.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h> #include <stdint.h>

View File

@ -1,3 +1,9 @@
/*
* OSSv3/OSSv4 output sound code.
* License : MIT
* See docs/MIT_license.txt for more information.
*/
#include <stdio.h> #include <stdio.h>
#include <stdint.h> #include <stdint.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>

View File

@ -1,3 +1,9 @@
/*
* Portaudio output sound code.
* License : MIT
* See docs/MIT_license.txt for more information.
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h> #include <stdint.h>

View File

@ -1,3 +1,9 @@
/*
* Pulseaudio output sound code.
* License : MIT
* See docs/MIT_license.txt for more information.
*/
#include <stdio.h> #include <stdio.h>
#include <stdint.h> #include <stdint.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>

View File

@ -1,8 +1,8 @@
#ifndef SOUND_OUTPUT_H #ifndef SOUND_OUTPUT_H
#define SOUND_OUTPUT_H #define SOUND_OUTPUT_H
void Sound_Init(void); extern void Sound_Init(void);
void Sound_Update(void); extern void Sound_Update(void);
void Sound_Close(void); extern void Sound_Close(void);
#endif #endif