Commit 4c0d5f05 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Jens Axboe

[PATCH] dmasound SOUND_PCM_READ_RATE

dmasound: Implement missing SOUND_PCM_READ_RATE ioctl (from Richard Zidlicky)
parent 1cd04b8e
......@@ -1210,6 +1210,8 @@ static int sq_ioctl(struct inode *inode, struct file *file, u_int cmd,
shared_resources_initialised = 0 ;
return result ;
break ;
case SOUND_PCM_READ_RATE:
return IOCTL_OUT(arg, dmasound.soft.speed);
case SNDCTL_DSP_SPEED:
/* changing this on the fly will have weird effects on the sound.
Where there are rate conversions implemented in soft form - it
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment