Change type of channel speed variable from "int" to "u_int32_t" to

avoid overflow when scaling playback rate.  Fixes 44.1k playback from
being 48k (I am deaf to this difference...).
This commit is contained in:
orion 2001-03-21 14:10:51 +00:00
parent 40cb12aa04
commit 895ac4caef

View File

@ -58,8 +58,8 @@ struct sc_chinfo {
struct sc_info *parent;
pcm_channel *channel;
snd_dbuf *buffer;
u_int32_t fmt, spd;
int dir;
int fmt, spd;
int dma_active, dma_was_active;
};