aboutsummaryrefslogtreecommitdiffstats
path: root/src/pq_alsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pq_alsa.c')
-rw-r--r--src/pq_alsa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pq_alsa.c b/src/pq_alsa.c
index 676e8e7..3550221 100644
--- a/src/pq_alsa.c
+++ b/src/pq_alsa.c
@@ -143,7 +143,8 @@ pq_queue_alsa_op(struct osmo_gapk_pq *pq, const char *alsa_dev, unsigned int blk
item->type = in_out_n ?
OSMO_GAPK_ITEM_TYPE_SOURCE : OSMO_GAPK_ITEM_TYPE_SINK;
- item->cat_name = in_out_n ? "source" : "sink";
+ item->cat_name = in_out_n ?
+ OSMO_GAPK_CAT_NAME_SOURCE : OSMO_GAPK_CAT_NAME_SINK;
item->sub_name = "alsa";
item->len_in = in_out_n ? 0 : blk_len;