Subject: CVS commit: [kent-audio1] src/sys/dev
To: None <source-changes@NetBSD.org>
From: TAMURA Kent <kent@netbsd.org>
List: source-changes
Date: 12/10/2004 00:30:55
Module Name: src
Committed By: kent
Date: Fri Dec 10 00:30:55 UTC 2004
Modified Files:
src/sys/dev [kent-audio1]: audio.c audio_if.h audiovar.h
Log Message:
* introduce audio_stream_t, and make audio_ringbuffer a subclass of
audio_stream_t
* introduce stream_fetcher_t, stream_filter_t, stream_filter_factory_t,
and stream_filter_list_t.
* Empty stream_filter_list_t instances are passed to audio_hw_if::set_params()
Non-essential changes:
* represent buffers as uint8_t* instead of u_char*
* make outp const
* make the second parameter of audio_hw_if::start_output() const
* make the second parameter of audio_hw_if::trigger_output() const
* change types of audio_ringbuffer::{pause,copying,needfill,mmapped}:
char -> boolean_t
* change the type of audio_params::sample_rate: u_long -> u_int
The sample rate is exposed to userland as u_int.
* typedef audio_params_t
To generate a diff of this commit:
cvs rdiff -r1.184 -r1.184.2.1 src/sys/dev/audio.c
cvs rdiff -r1.54 -r1.54.2.1 src/sys/dev/audio_if.h
cvs rdiff -r1.31 -r1.31.2.1 src/sys/dev/audiovar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.