- Fix bad spin_unlock_*

- Fix casts from 64 bit pointer to int
This commit is contained in:
Takashi Iwai 2000-05-18 17:52:58 +00:00
parent bec89c69ae
commit 4f85cf4d46

View file

@ -488,7 +488,7 @@ int snd_pcm_voices_mask(snd_pcm_t *pcm, int channel, bitset_t *client_vmask)
return pcm->ops->voices_mask(pcm, channel, client_vmask);
}
int snd_pcm_bytes_per_second(snd_pcm_t *pcm, int channel)
ssize_t snd_pcm_bytes_per_second(snd_pcm_t *pcm, int channel)
{
struct snd_pcm_chan *chan;
if (!pcm)