mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
some printf fixes
This commit is contained in:
parent
a9808a3edb
commit
d46c239ab0
5 changed files with 5 additions and 5 deletions
|
|
@ -39,7 +39,7 @@ extern "C" {
|
|||
int spa_debug_port_info(int indent, const struct spa_port_info *info)
|
||||
{
|
||||
spa_debug("%*s" "struct spa_port_info %p:", indent, "", info);
|
||||
spa_debug("%*s" " flags: \t%08lx", indent, "", info->flags);
|
||||
spa_debug("%*s" " flags: \t%08" PRIx64, indent, "", info->flags);
|
||||
spa_debug("%*s" " rate: \t%d/%d", indent, "", info->rate.num, info->rate.denom);
|
||||
spa_debug("%*s" " props:", indent, "");
|
||||
if (info->props)
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@ static int make_matrix(struct channelmix *mix)
|
|||
|
||||
unassigned = src_mask & ~dst_mask;
|
||||
|
||||
spa_log_debug(mix->log, "unassigned %08lx", unassigned);
|
||||
spa_log_debug(mix->log, "unassigned %08" PRIx64, unassigned);
|
||||
|
||||
if (unassigned & _MASK(FC)){
|
||||
if ((dst_mask & STEREO) == STEREO){
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ static int setup_convert(struct impl *this,
|
|||
if (dst_mask & 1)
|
||||
dst_mask = default_mask(dst_chan);
|
||||
|
||||
spa_log_info(this->log, NAME " %p: %s/%d@%d->%s/%d@%d %08lx:%08lx", this,
|
||||
spa_log_info(this->log, NAME " %p: %s/%d@%d->%s/%d@%d %08"PRIx64":%08"PRIx64, this,
|
||||
spa_debug_type_find_name(spa_type_audio_format, src_info->info.raw.format),
|
||||
src_chan,
|
||||
src_info->info.raw.rate,
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ static void node_info(void *_data, const struct spa_node_info *info)
|
|||
{
|
||||
struct data *data = _data;
|
||||
|
||||
printf("node info: %08lx\n", info->change_mask);
|
||||
printf("node info: %08"PRIx64"\n", info->change_mask);
|
||||
printf("max input ports: %u\n", info->max_input_ports);
|
||||
printf("max output ports: %u\n", info->max_output_ports);
|
||||
|
||||
|
|
|
|||
|
|
@ -939,7 +939,7 @@ static void node_info(void *data, const struct spa_node_info *info)
|
|||
node->info.max_input_ports = info->max_input_ports;
|
||||
node->info.max_output_ports = info->max_output_ports;
|
||||
|
||||
pw_log_debug("node %p: change_mask %08lx max_in:%u max_out:%u",
|
||||
pw_log_debug("node %p: change_mask %08"PRIx64" max_in:%u max_out:%u",
|
||||
node, info->change_mask, info->max_input_ports,
|
||||
info->max_output_ports);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue