]> git.tuebingen.mpg.de Git - paraslash.git/commit
audio: fix handling of sample_rate and channels count.
authorAndre <maan@p133.(none)>
Mon, 29 May 2006 23:05:54 +0000 (01:05 +0200)
committerAndre <maan@p133.(none)>
Mon, 29 May 2006 23:05:54 +0000 (01:05 +0200)
commita95093cd8b62d411b9448aa77768774e1bdd81e5
treec9fd3639d367ecc97c405e66bbebdac9b582d0e2
parentb23afbb1d859a79a2682a80420a7f3c693b210e6
audio: fix handling of sample_rate and channels count.

This was utterly broken for both para_write and para_audiod as
the writer didn't have a chance to see the computed value from
the filter/wav header.

Fix it by introducing two new pointers in struct writer_node_group
which point to the corresponding variables in struct
filter/check_wav_task.

Tested with 22KHz mono files.
alsa_write.ggo
alsa_writer.c
audiod.c
error.h
filter_chain.c
sched.c
write.c
write.h