Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Declare hw_{prod,serial,uuid,vendor,ver} in <sys/systm.h>. | 2020-08-26 | 1 | -3/+1 | |
| | | | | OK deraadt@, mpi@ | ||||
* | Move PowerBook5,4 audio from aoa(4) to snapper(4). | 2020-06-06 | 1 | -1/+6 | |
| | | | | | | | | | | | This adds the missing TAS3004 volume control. Before, I put my ear near the speaker (to hear audio), because I had no way to turn up the volume. Now, the default volume is much louder, so I use sndioctl(1) to turn it down. Check for the model string "PowerBook5,4". This model's device tree has compatible = "AOAKeylargo" for the audio, doesn't show the TAS3004 in the same way as other models. | ||||
* | Remove unused getdev() audio driver functions. | 2016-09-19 | 1 | -16/+1 | |
| | |||||
* | Remove drain(), query_encoding(), mappage() and get_default_params() | 2016-09-14 | 1 | -13/+2 | |
| | | | | | methods from all audio drivers and from the audio_if structure as they are never called. | ||||
* | Do not do strncmp comparisons on dv_xname because longer device names which | 2009-10-26 | 1 | -3/+3 | |
| | | | | | | look similar could arrive in the future. Instead, compare directly against dv_cfdata->cf_driver->cd_name Issue originally spotted by miod | ||||
* | input and volume twiddles | 2008-11-06 | 1 | -5/+6 | |
| | | | | | | | o set init data to match snapper_set_foo* o set volume to 190 (audible compared to the default) o set input to mic (most common usage) ok jakemsr@ | ||||
* | * use uint8_t instead of int to hold the value of an 8-bit register. | 2008-11-05 | 1 | -3/+10 | |
| | | | | | | | | | | | | * for outputs.{bass,treble}, 0 dB corresponds to mixer value 128, not 0. * line-in is configured as the default recording source; set sc->sc_record_source accordingly. * add missing register to initialization code. from Marco (marco2z at arsystel com), thanks testing/ok drahn@ | ||||
* | native default parameters for i2s devices instead of 8kHz | 2008-10-29 | 1 | -2/+9 | |
| | | | | | | mulaw mono, which few can even do. "Please just get this in." brad@ | ||||
* | how about i commit what was actually approved? wrong tree, bad todd ;-( | 2008-08-25 | 1 | -2/+2 | |
| | |||||
* | o implement proper volume control table based on chipset docs | 2008-08-24 | 1 | -9/+193 | |
| | | | | | o attempt to make record work (but silence for now) from drahn@, ok maja@, drahn@ | ||||
* | allow low level audio drivers to specify a default sample format, | 2008-04-21 | 1 | -1/+2 | |
| | | | | | | | | | instead of 8-bit mono mulaw @ 8kHz. this is just the infrastructure; no drivers are specifying a default yet. ok ratchov@, deanna@ | ||||
* | rename drivers with numbers in them; ok gwk drahn | 2007-04-23 | 1 | -7/+7 | |
| | |||||
* | Fix totally bogus previous commit. | 2005-12-28 | 1 | -3/+3 | |
| | |||||
* | Make sure we match the correct driver for newer macppc systems. | 2005-12-17 | 1 | -5/+9 | |
| | | | | tested by xsa@, ok joris@, brad@ | ||||
* | some driver cleanup, ANSI/KNF and more consistency between the drivers. | 2005-11-05 | 1 | -34/+16 | |
| | | | | ok joris@ | ||||
* | update datasheet URL. | 2005-10-31 | 1 | -5/+3 | |
| | |||||
* | - add needed bass & treble glue in i2s; | 2005-10-31 | 1 | -1/+111 | |
| | | | | | | - add support for bass & treble in snapper; ok drahn@ | ||||
* | add aoa audio support, found in several macppc machines | 2005-10-31 | 1 | -3/+2 | |
| | | | | ok drahn@ | ||||
* | kill unneeded node argument in snapper_init() | 2005-10-28 | 1 | -6/+4 | |
| | | | | ok drahn@ | ||||
* | add an i2s framework, which can be reused in new audio drivers | 2005-10-26 | 1 | -1183/+36 | |
| | | | | | | | | | for macppc, as most modern Apple machines have i2s-based audio. also let snapper use i2s.c right away; tested by Antoine Jacoutot, drahn@ and kettenis@ "yes, commit!" drahn@, ok kettenis@ | ||||
* | revert to revision 1.16 for now, 1.17 and 1.18 broke audio | 2005-10-20 | 1 | -15/+4 | |
| | | | | | | on a lot of macppc machines that use this driver; ok drahn@ | ||||
* | Dont reset the registers if the same speed is programmed. helps reduce | 2005-10-11 | 1 | -7/+9 | |
| | | | | | the possible race where the frequency fails to set when changing speeds. hopefully this will workaround the problem reported on misc@ | ||||
* | Stop and restart the i2s clock when changing the snapper speed, otherwise | 2005-10-07 | 1 | -1/+10 | |
| | | | | the new setting doesn't do anything. | ||||
* | Dont hardcode the speed, allows mplayer to work. | 2005-05-26 | 1 | -2/+2 | |
| | |||||
* | on the iBook G3, there are too many devices with the same gpio name; | 2005-05-26 | 1 | -6/+15 | |
| | | | | | | prefer the first found. Now, FINALLY, I have my own music at the hackathon. ok drahn [and yes, dale, I'm working on mplayer] | ||||
* | pin the sample rate at 44.1k, PB's don't seem to get the 8k or 48k sample | 2005-05-23 | 1 | -10/+8 | |
| | | | | rate notificiations | ||||
* | define our own conversion function which does mono-to-stereo with | 2005-05-22 | 1 | -2/+17 | |
| | | | | a sign change (no byte swapping, and correct endianess) | ||||
* | whoops, wrong conversion function | 2005-05-22 | 1 | -2/+2 | |
| | |||||
* | more encodings | 2005-05-22 | 1 | -91/+79 | |
| | | | | | | | | | slinear8: mono/stereo ulinear8: mono/stereo alaw: mono ulaw: mono NOTE: still doesn't work on my machine, but hey, at least the encodings are closer. | ||||
* | fix names of ulinear, too | 2005-05-22 | 1 | -3/+3 | |
| | |||||
* | add memory clobber to prevent reordering | 2005-05-22 | 1 | -27/+91 | |
| | |||||
* | ALAW is called AudioEalaw not AudioEmulaw | 2005-05-22 | 1 | -2/+2 | |
| | |||||
* | Use list and queue macros where applicable to make the code easier to read; | 2004-12-25 | 1 | -2/+2 | |
| | | | | no functional change. | ||||
* | strncmp() the correct size when looking for ki2c companion. | 2004-12-25 | 1 | -2/+2 | |
| | |||||
* | Slightly better messages, fix a typo, and a few strlcpy() botches. | 2004-01-14 | 1 | -7/+7 | |
| | | | | ok drahn@ | ||||
* | Completely remove the device name from this print, not just the %s. | 2004-01-12 | 1 | -2/+2 | |
| | |||||
* | Better defaults on snapper, fixes xmms problem reported by joshua stein | 2004-01-12 | 1 | -6/+8 | |
| | | | | just hours after the driver was committed. | ||||
* | $OpenBSD$ tags | 2004-01-11 | 1 | -1/+1 | |
| | |||||
* | Audio support for some newer macppc machines, any 'snapper' based systems. | 2004-01-11 | 1 | -0/+1528 | |
Driver ported from netbsd with bus_dma addition/vtophys deletion. This driver does not work on the first generation 'Digital audio' systems those were 'tumbler' nor the latest version. ok dhartmei@ |