git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
sound
/
core
/
seq
/
oss
/
seq_oss_timer.c
diff --git
a/sound/core/seq/oss/seq_oss_timer.c
b/sound/core/seq/oss/seq_oss_timer.c
index
b0d72a8
..
b17c1f8
100644
(file)
--- a/
sound/core/seq/oss/seq_oss_timer.c
+++ b/
sound/core/seq/oss/seq_oss_timer.c
@@
-46,7
+46,7
@@
snd_seq_oss_timer_new(seq_oss_devinfo_t *dp)
{
seq_oss_timer_t *rec;
{
seq_oss_timer_t *rec;
- rec =
snd_kcalloc(
sizeof(*rec), GFP_KERNEL);
+ rec =
kcalloc(1,
sizeof(*rec), GFP_KERNEL);
if (rec == NULL)
return NULL;
if (rec == NULL)
return NULL;
@@
-168,7
+168,7
@@
snd_seq_oss_timer_start(seq_oss_timer_t *timer)
tmprec.queue = dp->queue;
tmprec.ppq = timer->ppq;
tmprec.tempo = timer->tempo;
tmprec.queue = dp->queue;
tmprec.ppq = timer->ppq;
tmprec.tempo = timer->tempo;
- snd_seq_
kernel_client_ctl(dp->cseq, SNDRV_SEQ_IOCTL_SET_QUEUE_TEMPO
, &tmprec);
+ snd_seq_
set_queue_tempo(dp->cseq
, &tmprec);
send_timer_event(dp, SNDRV_SEQ_EVENT_START, 0);
timer->running = 1;
send_timer_event(dp, SNDRV_SEQ_EVENT_START, 0);
timer->running = 1;