mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
add documentation
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@86 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
3e379ca99d
commit
7b8c329578
13 changed files with 985 additions and 7 deletions
|
|
@ -355,7 +355,6 @@ libpolypcore_la_SOURCES = idxset.c idxset.h \
|
|||
sconv-s16be.c sconv-s16be.h \
|
||||
sioman.c sioman.h \
|
||||
modargs.c modargs.h \
|
||||
cmdline.c cmdline.h \
|
||||
cli-command.c cli-command.h \
|
||||
clitext.c clitext.h \
|
||||
tokenizer.c tokenizer.h \
|
||||
|
|
|
|||
|
|
@ -231,8 +231,12 @@ int pa_modargs_get_sample_spec(struct pa_modargs *ma, struct pa_sample_spec *rss
|
|||
ss.format = PA_SAMPLE_S16NE;
|
||||
else if (strcmp(format, "u8") == 0 || strcmp(format, "8") == 0)
|
||||
ss.format = PA_SAMPLE_U8;
|
||||
else if (strcmp(format, "float32") == 0)
|
||||
else if (strcmp(format, "float32") == 0 || strcmp(format, "float32ne") == 0)
|
||||
ss.format = PA_SAMPLE_FLOAT32;
|
||||
else if (strcmp(format, "float32le") == 0)
|
||||
ss.format = PA_SAMPLE_FLOAT32LE;
|
||||
else if (strcmp(format, "float32be") == 0)
|
||||
ss.format = PA_SAMPLE_FLOAT32BE;
|
||||
else if (strcmp(format, "ulaw") == 0)
|
||||
ss.format = PA_SAMPLE_ULAW;
|
||||
else if (strcmp(format, "alaw") == 0)
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ static const char* const valid_modargs[] = {
|
|||
static struct pa_socket_server *create_socket_server(struct pa_core *c, struct pa_modargs *ma) {
|
||||
struct pa_socket_server *s;
|
||||
#ifdef USE_TCP_SOCKETS
|
||||
uint32_t loopback = 0, port = IPV4_PORT;
|
||||
uint32_t loopback = 1, port = IPV4_PORT;
|
||||
|
||||
if (pa_modargs_get_value_u32(ma, "loopback", &loopback) < 0) {
|
||||
fprintf(stderr, "loopback= expects a numerical argument.\n");
|
||||
|
|
|
|||
1
src/todo
1
src/todo
|
|
@ -1,7 +1,6 @@
|
|||
*** $Id$ ***
|
||||
|
||||
- documentation
|
||||
- pkgconfig
|
||||
|
||||
*** post 0.1 ***
|
||||
- future cancellation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue