/* Decodes the block data for a constant block  */
static void decode_const_block_data(ALSDecContext *ctx, ALSBlockData *bd)
/* Decodes the block data for a constant block  */
static void decode_const_block_data(ALSDecContext *ctx, ALSBlockData *bd)
{
    int      smp = bd->block_length;
    int32_t  val = bd->const_val;
    int32_t *dst = bd->raw_samples;
    for (; smp; smp--)
        *dst++ = val;
}