mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
move audio-dsp to audio-session
Make a new module audio-session that manages clients and what audio sessions they use. Move the audio-dsp to the audio-session
This commit is contained in:
parent
7bb0e4da85
commit
eb96ed45d7
5 changed files with 840 additions and 224 deletions
44
src/modules/module-audio-session/audio-dsp.h
Normal file
44
src/modules/module-audio-session/audio-dsp.h
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
/* PipeWire
|
||||
* Copyright (C) 2018 Wim Taymans <wim.taymans@gmail.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library 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
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Library General Public
|
||||
* License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#ifndef __PIPEWIRE_AUDIO_DSP_H__
|
||||
#define __PIPEWIRE_AUDIO_DSP_H__
|
||||
|
||||
#include <pipewire/core.h>
|
||||
#include <pipewire/node.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct pw_node *
|
||||
pw_audio_dsp_new(struct pw_core *core,
|
||||
const struct pw_properties *properties,
|
||||
enum pw_direction direction,
|
||||
uint32_t channels,
|
||||
uint32_t max_buffer_size,
|
||||
size_t user_data_size);
|
||||
|
||||
void *pw_audio_dsp_get_user_data(struct pw_node *node);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __PIPEWIRE_AUDIO_DSP_H__ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue