mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
stream-monitor -> stream-endpoint
This commit is contained in:
parent
5cfb155827
commit
2242c4bab2
3 changed files with 7 additions and 7 deletions
|
|
@ -58,7 +58,7 @@
|
||||||
#define sm_media_session_emit_remove(s,obj) sm_media_session_emit(s, remove, 0, obj)
|
#define sm_media_session_emit_remove(s,obj) sm_media_session_emit(s, remove, 0, obj)
|
||||||
#define sm_media_session_emit_rescan(s,seq) sm_media_session_emit(s, rescan, 0, seq)
|
#define sm_media_session_emit_rescan(s,seq) sm_media_session_emit(s, rescan, 0, seq)
|
||||||
|
|
||||||
void * sm_stream_monitor_start(struct sm_media_session *sess);
|
void * sm_stream_endpoint_start(struct sm_media_session *sess);
|
||||||
void * sm_metadata_start(struct sm_media_session *sess);
|
void * sm_metadata_start(struct sm_media_session *sess);
|
||||||
void * sm_alsa_midi_start(struct sm_media_session *sess);
|
void * sm_alsa_midi_start(struct sm_media_session *sess);
|
||||||
void * sm_v4l2_monitor_start(struct sm_media_session *sess);
|
void * sm_v4l2_monitor_start(struct sm_media_session *sess);
|
||||||
|
|
@ -1517,7 +1517,7 @@ static void proxy_client_session_bound(void *data, uint32_t id)
|
||||||
sm_alsa_monitor_start(&impl->this);
|
sm_alsa_monitor_start(&impl->this);
|
||||||
sm_alsa_endpoint_start(&impl->this);
|
sm_alsa_endpoint_start(&impl->this);
|
||||||
sm_v4l2_monitor_start(&impl->this);
|
sm_v4l2_monitor_start(&impl->this);
|
||||||
sm_stream_monitor_start(&impl->this);
|
sm_stream_endpoint_start(&impl->this);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct pw_proxy_events proxy_client_session_events = {
|
static const struct pw_proxy_events proxy_client_session_events = {
|
||||||
|
|
|
||||||
|
|
@ -41,8 +41,8 @@
|
||||||
#include "extensions/session-manager.h"
|
#include "extensions/session-manager.h"
|
||||||
#include "media-session.h"
|
#include "media-session.h"
|
||||||
|
|
||||||
#define NAME "stream-monitor"
|
#define NAME "stream-endpoint"
|
||||||
#define SESSION_KEY "stream-monitor"
|
#define SESSION_KEY "stream-endpoint"
|
||||||
|
|
||||||
#define DEFAULT_CHANNELS 2
|
#define DEFAULT_CHANNELS 2
|
||||||
#define DEFAULT_SAMPLERATE 48000
|
#define DEFAULT_SAMPLERATE 48000
|
||||||
|
|
@ -578,7 +578,7 @@ static const struct sm_media_session_events session_events = {
|
||||||
.remove = session_remove,
|
.remove = session_remove,
|
||||||
};
|
};
|
||||||
|
|
||||||
void * sm_stream_monitor_start(struct sm_media_session *session)
|
void * sm_stream_endpoint_start(struct sm_media_session *session)
|
||||||
{
|
{
|
||||||
struct impl *impl;
|
struct impl *impl;
|
||||||
|
|
||||||
|
|
@ -592,7 +592,7 @@ void * sm_stream_monitor_start(struct sm_media_session *session)
|
||||||
return impl;
|
return impl;
|
||||||
}
|
}
|
||||||
|
|
||||||
int sm_stream_monitor_stop(void *data)
|
int sm_stream_endpoint_stop(void *data)
|
||||||
{
|
{
|
||||||
struct impl *impl = data;
|
struct impl *impl = data;
|
||||||
spa_hook_remove(&impl->listener);
|
spa_hook_remove(&impl->listener);
|
||||||
|
|
@ -51,7 +51,7 @@ executable('media-session',
|
||||||
'media-session/bluez-monitor.c',
|
'media-session/bluez-monitor.c',
|
||||||
'media-session/media-session.c',
|
'media-session/media-session.c',
|
||||||
'media-session/metadata.c',
|
'media-session/metadata.c',
|
||||||
'media-session/stream-monitor.c',
|
'media-session/stream-endpoint.c',
|
||||||
'media-session/policy-ep.c',
|
'media-session/policy-ep.c',
|
||||||
'media-session/v4l2-monitor.c',
|
'media-session/v4l2-monitor.c',
|
||||||
c_args : [ '-D_GNU_SOURCE' ],
|
c_args : [ '-D_GNU_SOURCE' ],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue