diff options
Diffstat (limited to 'src/pq_alsa.c')
-rw-r--r-- | src/pq_alsa.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pq_alsa.c b/src/pq_alsa.c index 8355349..3025c2a 100644 --- a/src/pq_alsa.c +++ b/src/pq_alsa.c @@ -140,6 +140,9 @@ pq_queue_alsa_op(struct osmo_gapk_pq *pq, const char *alsa_dev, unsigned int blk goto out_close; } + item->type = in_out_n ? + OSMO_GAPK_ITEM_TYPE_SOURCE : OSMO_GAPK_ITEM_TYPE_SINK; + item->len_in = in_out_n ? 0 : blk_len; item->len_out = in_out_n ? blk_len : 0; item->state = state; |