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:
parent
40cb12aa04
commit
895ac4caef
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user