mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
* fix include file names in installed header files
* add browsing API * add new tool pabrowse * add typeid subsystem * bump API version * split off random.c * add an identification cookie git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@320 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
9a01cf44f0
commit
e02be6c15b
58 changed files with 971 additions and 169 deletions
|
|
@ -32,6 +32,8 @@
|
|||
#include "sink-input.h"
|
||||
#include "xmalloc.h"
|
||||
|
||||
#define PA_TYPEID_MEMCHUNK PA_TYPEID_MAKE('M', 'C', 'N', 'K')
|
||||
|
||||
static void sink_input_kill(struct pa_sink_input *i) {
|
||||
struct pa_memchunk *c;
|
||||
assert(i && i->userdata);
|
||||
|
|
@ -88,7 +90,7 @@ int pa_play_memchunk(struct pa_sink *sink, const char *name, const struct pa_sam
|
|||
if (volume <= 0)
|
||||
return 0;
|
||||
|
||||
if (!(si = pa_sink_input_new(sink, name, ss, 0, -1)))
|
||||
if (!(si = pa_sink_input_new(sink, PA_TYPEID_MEMCHUNK, name, ss, 0, -1)))
|
||||
return -1;
|
||||
|
||||
si->volume = volume;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue