History log of /haiku/src/add-ons/kernel/drivers/audio/ac97/auich/multi.c
Revision Date Author Comments
# 6f52406a 07-Apr-2024 Muhamed Emad <muhamed.emadeldeen@gmail.com>

auich: Fix warnings, enable -Werror

Change-Id: I03a686d124444d60b92b34c1b7a10d73c872c21d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7606
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# fe5e83a6 07-Jun-2019 Murai Takashi <tmurai01@gmail.com>

drivers/audio/ac97: Fix -Wformat=

Change-Id: I454ca76cfd5f8ebddb74c6b68a940d0444a82bb1
Reviewed-on: https://review.haiku-os.org/c/1530
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 3bcf0272 16-Jan-2018 Jérôme Duval <jerome.duval@gmail.com>

auich: use user_memcpy to read/write the user buffers.

* also check buffer addresses passed through structures.
* map registers kernel only.
* alloc dma descriptors kernel only.


# ab496a4b 13-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Humdinger:
Changed various labels in audio drivers to sentence case. This is
case-audio-drivers.diff from #5169.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35045 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5076aaf0 16-Feb-2009 Jérôme Duval <korli@users.berlios.de>

* some style improvements again (ie lower case variables as pointed by Axel)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29238 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7f2d1a26 11-Jan-2009 Jérôme Duval <korli@users.berlios.de>

* for user_memcpy, use an on-stack structure and copy that at once, as suggested by Axel.
* apply to auvia, emuxki and echo*.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28887 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6c16c425 08-Jan-2009 Jérôme Duval <korli@users.berlios.de>

* style fixes
* use user_memcpy in buffer exchange for Haiku


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28861 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c019da3c 11-Oct-2008 Jérôme Duval <korli@users.berlios.de>

moved the check for settings like sample rate, buffer count, buffer frames in open()
changes on auich.settings are now taken into account when restarting media_server


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27972 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 00acef29 10-Oct-2008 Jérôme Duval <korli@users.berlios.de>

take sample rate from settings into account


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27964 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c27f3926 14-May-2008 Jérôme Duval <korli@users.berlios.de>

* updated ac97 code with the one from Marcus' ich driver
* merged existing quirks (reversed amp enable and ad1981b)
testing is welcome!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25497 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 96cf4bfb 24-Jul-2007 Jérôme Duval <korli@users.berlios.de>

should fix bug #1328, how could this be not noticed until now ...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21696 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b0d9cd6f 13-May-2007 Ithamar R. Adema <ithamar.adema@team-embedded.nl>

* Delete all local copies of multi_audio from source tree.
* Change name of header for Haiku specific multi_audio to hmulti_audio (in line with the rename of the media addon itself)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21136 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 127dffed 10-Apr-2007 Jérôme Duval <korli@users.berlios.de>

Applied patch from thq (bug #1146). Thanks a lot! I tested this change on Haiku.
Avoids noise on shutdown because the amplifier is left on after shutdown, the amplifier is also turned on directly after init. The patch changes this to be the last thing to be turned on, and the first to be turned off.
The creation of controls had an of by 1 error where the last control was skipped.
Also made the controls more UI friendly so that the 'boost mic +20dB' is a part of the mic control instead of its own tab, and the AC97 mixer tab is changed to be the first one as it is probably more used than the 'Record' tab, which now is called 'Recording'.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20646 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bc19ead8 05-Aug-2006 Jérôme Duval <korli@users.berlios.de>

added a settings file for auich
there is now an option for laptops for which no interrupt is available (ie stippi's one) : use_thread
even when use_thread is active, it could be needed to use a higher value for buffer_frames (ie 512)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18406 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 130803f2 20-Aug-2005 Jérôme Duval <korli@users.berlios.de>

Auich BeOS Driver for Intel Southbridge audio


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13995 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ab496a4be829b69eba1bae9a920494c0ffb7d48f 13-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Humdinger:
Changed various labels in audio drivers to sentence case. This is
case-audio-drivers.diff from #5169.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35045 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5076aaf050c0d14aa59d2e32952207124da35f2a 16-Feb-2009 Jérôme Duval <korli@users.berlios.de>

* some style improvements again (ie lower case variables as pointed by Axel)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29238 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7f2d1a266efede46393a6f129f37ac3d3aa81e3a 11-Jan-2009 Jérôme Duval <korli@users.berlios.de>

* for user_memcpy, use an on-stack structure and copy that at once, as suggested by Axel.
* apply to auvia, emuxki and echo*.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28887 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6c16c42586f637406685710b04d89c3a6e7a7dab 08-Jan-2009 Jérôme Duval <korli@users.berlios.de>

* style fixes
* use user_memcpy in buffer exchange for Haiku


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28861 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c019da3ccff9372096761365c8ae156ce10f711e 11-Oct-2008 Jérôme Duval <korli@users.berlios.de>

moved the check for settings like sample rate, buffer count, buffer frames in open()
changes on auich.settings are now taken into account when restarting media_server


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27972 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 00acef29d657481d7d647ffdd6b724012b3ec89a 10-Oct-2008 Jérôme Duval <korli@users.berlios.de>

take sample rate from settings into account


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27964 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c27f3926a089ccea811d8c3f669a857a7b7e1a73 14-May-2008 Jérôme Duval <korli@users.berlios.de>

* updated ac97 code with the one from Marcus' ich driver
* merged existing quirks (reversed amp enable and ad1981b)
testing is welcome!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25497 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 96cf4bfb88a59c6ac7c59fde1ac6669740f91940 24-Jul-2007 Jérôme Duval <korli@users.berlios.de>

should fix bug #1328, how could this be not noticed until now ...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21696 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b0d9cd6f665066ef752801665f1b935187119362 13-May-2007 Ithamar R. Adema <ithamar.adema@team-embedded.nl>

* Delete all local copies of multi_audio from source tree.
* Change name of header for Haiku specific multi_audio to hmulti_audio (in line with the rename of the media addon itself)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21136 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 127dffedfb26e0c133c0e2cde55c444d634de6df 10-Apr-2007 Jérôme Duval <korli@users.berlios.de>

Applied patch from thq (bug #1146). Thanks a lot! I tested this change on Haiku.
Avoids noise on shutdown because the amplifier is left on after shutdown, the amplifier is also turned on directly after init. The patch changes this to be the last thing to be turned on, and the first to be turned off.
The creation of controls had an of by 1 error where the last control was skipped.
Also made the controls more UI friendly so that the 'boost mic +20dB' is a part of the mic control instead of its own tab, and the AC97 mixer tab is changed to be the first one as it is probably more used than the 'Record' tab, which now is called 'Recording'.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20646 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bc19ead830ddaa2dd72fc3e0649a7845a4ea3d24 05-Aug-2006 Jérôme Duval <korli@users.berlios.de>

added a settings file for auich
there is now an option for laptops for which no interrupt is available (ie stippi's one) : use_thread
even when use_thread is active, it could be needed to use a higher value for buffer_frames (ie 512)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18406 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 130803f29bfd003730dc8d6cd89da9c166f9343b 20-Aug-2005 Jérôme Duval <korli@users.berlios.de>

Auich BeOS Driver for Intel Southbridge audio


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13995 a95241bf-73f2-0310-859d-f6bbb57e9c96