master
text 78 lines 4.73 KB
Raw
1 # See docs/devel/tracing.rst for syntax documentation.
2
3 # alsaaudio.c
4 alsa_revents(int revents) "revents = %d"
5 alsa_pollout(int i, int fd) "i = %d fd = %d"
6 alsa_set_handler(int events, int index, int fd, int err) "events=0x%x index=%d fd=%d err=%d"
7 alsa_wrote_zero(int len) "Failed to write %d frames (wrote zero)"
8 alsa_read_zero(long len) "Failed to read %ld frames (read zero)"
9 alsa_xrun_out(void) "Recovering from playback xrun"
10 alsa_xrun_in(void) "Recovering from capture xrun"
11 alsa_resume_out(void) "Resuming suspended output stream"
12 alsa_info_params(int req_fmt, int obt_fmt, int req_channels, int obt_channels, int req_freq, int obt_freq) "format %d->%d, channels %d->%d, frequency %d->%d"
13 alsa_info_samples(int buffer_length, int period_length, long samples) "requested: buffer len %d, period len %d; obtained: %ld samples"
14 alsa_fini_out(void) ""
15 alsa_enable_out(bool enable) "enable=%d"
16 alsa_enable_in(bool enable) "enable=%d"
17
18 # ossaudio.c
19 oss_version(int version) "OSS version = 0x%x"
20 oss_out_params(int req_fmt, int obt_fmt, int req_channels, int obt_channels, int req_freq, int obt_freq, int req_nfrags, int obt_nfrags, int req_fragsize, int obt_fragsize) "fmt=%d->%d, channels %d->%d, freq=%d->%d, nfrags=%d->%d, fragsize=%d->%d"
21 oss_in_params(int req_fmt, int obt_fmt, int req_channels, int obt_channels, int req_freq, int obt_freq, int req_nfrags, int obt_nfrags, int req_fragsize, int obt_fragsize) "fmt=%d->%d, channels %d->%d, freq=%d->%d, nfrags=%d->%d, fragsize=%d->%d"
22 oss_fini_out(void) ""
23 oss_enable_out(bool enable) "enable=%d"
24 oss_enable_in(bool enable) "enable=%d"
25
26 # dbusaudio.c
27 dbus_audio_register(const char *s, const char *dir) "sender = %s, dir = %s"
28 dbus_audio_put_buffer_out(size_t pos, size_t size) "buf_pos = %zu, buf_size = %zu"
29 dbus_audio_read(size_t len) "len = %zu"
30
31 # dsoundaudio.c
32 dsound_clear_sample(void *p1, uint32_t blen1, uint32_t len1, void *p2, uint32_t blen2, uint32_t len2) "p1=%p, blen1=%u, len1=%u, p2=%p, blen2=%u, len2=%u"
33 dsound_wave_format(uint16_t wFormatTag, uint16_t nChannels, uint32_t nSamplesPerSec, uint32_t nAvgBytesPerSec, uint16_t nBlockAlign, uint16_t wBitsPerSample, uint16_t cbSize) "wFormatTag=%u, nChannels=%u, nSamplesPerSec=%u, nAvgBytesPerSec=%u, nBlockAlign=%u, wBitsPerSample=%u, cbSize=%u"
34 dsound_buffer_bytes(uint32_t caps_bytes, uint32_t desc_bytes) "caps_bytes=%u, desc_bytes=%u"
35
36 # jackaudio.c
37 jack_client_recover(void) "attempting to reconnect to server"
38 jack_connect(const char *src, const char *dst) "connect %s -> %s"
39 jack_server_started(void) "server started"
40 jack_unique_name(const char *name) "unique name assigned %s"
41 jack_out_init(uint32_t freq, int buffersize) "output configured for %uHz (%d samples)"
42 jack_in_init(uint32_t freq, int buffersize) "input configured for %uHz (%d samples)"
43 jack_info(const char *msg) "%s"
44
45 # pwaudio.c
46 pw_state_changed(int nodeid, const char *s) "node id: %d stream state: %s"
47 pw_read(int32_t avail, uint32_t index, size_t len) "avail=%d index=%u len=%zu"
48 pw_write(int32_t filled, int32_t avail, uint32_t index, size_t len) "filled=%d avail=%d index=%u len=%zu"
49 pw_vol(const char *ret) "set volume: %s"
50 pw_period(uint64_t quantum, uint32_t rate) "period =%" PRIu64 "/%u"
51 pw_audio_init(void) "Initialize PipeWire context"
52
53 # audio-be.c
54 audio_be_set_active_in(void *sw, bool on) "sw=%p, on=%d"
55 audio_be_set_active_out(void *sw, bool on) "sw=%p, on=%d"
56
57 # audio.c
58 audio_timer_start(int interval) "interval %d ms"
59 audio_timer_stop(void) ""
60 audio_timer_delayed(int interval) "interval %d ms"
61 audio_notify_capture(int cmd) "notification %d sent"
62 audio_capture_attach(const char *name, bool active) "capture %s active=%d"
63
64 # audio-mixeng-be.c
65 audio_get_avail(const char *name, size_t live, uint32_t frontend_frames) "%s: get_avail live %zu frontend frames %u"
66 audio_run_poll(const char *msg, int64_t elapsed_us) "Elapsed since last %s: %" PRId64 " us"
67 audio_capture_free_sw(const char *name) "freeing %s"
68 audio_out_full(const char *name, size_t live) "%s is full %zu"
69 audio_sw_write(const char *name, size_t size, size_t written, size_t total_mixed) "%s: write size %zu written %zu total mixed %zu"
70 audio_get_free(const char *name, size_t live, size_t dead, uint32_t frontend_frames) "%s: get_free live %zu dead %zu frontend frames %u"
71 audio_out_disable(void) "Disabling voice"
72 audio_out_played(size_t played) "played=%zu"
73 audio_rate_reset(int64_t frames) "Resetting rate control (%" PRId64 " frames)"
74
75 # audio_template.h
76 audio_open_out(const char *name, int freq, int nchannels, int fmt) "open %s, freq %d, nchannels %d, fmt %d"
77 audio_open_in(const char *name, int freq, int nchannels, int fmt) "open %s, freq %d, nchannels %d, fmt %d"
78 audio_voice_pair(const char *type, const char *name, const char *hw_fmt, int hw_freq, int hw_nchannels, const char *sw_fmt, int sw_freq, int sw_nchannels) "%s: name=%s hw=%s/%d/%d sw=%s/%d/%d"