implement parec-simple and matching simple recording API

add support for killing source outputs in native protocol
fix channel management in client library


git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@56 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-07-10 19:04:21 +00:00
parent 70bb8165ec
commit 5ea96e312b
7 changed files with 145 additions and 17 deletions

View file

@ -1,3 +1,4 @@
#include <stdio.h>
#include <stdlib.h>
#include "polyp-error.h"
@ -14,7 +15,9 @@ static const char* const errortab[PA_ERROR_MAX] = {
[PA_ERROR_PROTOCOL] = "Protocol corrupt",
[PA_ERROR_TIMEOUT] = "Timeout",
[PA_ERROR_AUTHKEY] = "Not authorization key",
[PA_ERROR_INTERNAL] = "Internal error"
[PA_ERROR_INTERNAL] = "Internal error",
[PA_ERROR_CONNECTIONTERMINATED] = "Connection terminated",
[PA_ERROR_KILLED] = "Entity killed",
};
const char*pa_strerror(uint32_t error) {