History log of /haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/Mixer.cpp
Revision Date Author Comments
# 57bc6503 09-Nov-2014 Alexander von Gluck IV <kallisti5@unixzen.com>

Everything: Update lots of code to use B_COUNT_OF macro

* Likely not everything, but the obvious uses of B_COUNT_OF


# d516d161 22-Aug-2013 Siarzhuk Zharski <zharik@gmx.li>

USB audio/SiS7018: Set controls_count on list mix ioctl

Looks like it works with default controls count 128 on default Haiku
builds but force media-addons-server to crash in case KDEBUG_LEVEL is set
to 0. Thanks to Vitaly Diger for pointing out and testing this issue.


# 1acd796b 02-Feb-2012 Siarzhuk Zharski <zharik@gmx.li>

[Coverity] Add check for NULL before calling strlcpy.

* Fixes CID11207.


# eed9bc77 10-Dec-2011 Siarzhuk Zharski <zharik@gmx.li>

Use "strlcpy" instead of "strncpy" and other Coverity issues

* Yet more nice way to fix Coverity issues fixed by hrev43460.
Thanks Rene Gollent for pointing it out!
* Potential Coverity issues fixed for sis19x driver too.


# a188dae8 10-Dec-2011 Siarzhuk Zharski <zharik@gmx.li>

Fixing Coverity issues. No functional changes

CID 3490
CID 3491
CID 8928
CID 10630
CID 10631
CID 10664
CID 10731
CID 10754
CID 11049
CID 11141
CID 11147
CID 11148


# b3fe883d 26-Nov-2011 Philippe Saint-Pierre <stpere@gmail.com>

replace usage of strncpy by strlcpy to insure NULL termination

CID 10631


# 8f621df7 31-Jan-2011 Siarzhuk Zharski <zharik@gmx.li>

No functional changes. Fixed coding style violation. Pointed by korli. Thanx!


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


# a4f18248 30-Jan-2011 Siarzhuk Zharski <zharik@gmx.li>

1) Improved detecting and handling AC97 VRA possibilites. Thanks to Maxim for testing;
2) Functionality of the handling the rate for AC97 Front PCM DAC added.


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


# 07910542 23-Jan-2011 Siarzhuk Zharski <zharik@gmx.li>

Audio driver for SiS 7018, Trident DX/NX and Acer Labs M5451 hardware
was rewritten to Haiku MultiAudio API.

This changeset replaces both old version of the same driver written for
BeOS R3 Sound API and ali5451 driver that handles the same audio hardware.
The driver was tested with SiS 7018 and ALi M5451 cards. Trident DX/NX
support still should be tested.

Some parts, related to ALi M5451 support were inspired by original ali5451
code so the copyright (c) 2009 by Krzysztof Ćwiertnia was added in the source.



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


# 57bc65034a7781d7bb53a48f94d692346b641da1 09-Nov-2014 Alexander von Gluck IV <kallisti5@unixzen.com>

Everything: Update lots of code to use B_COUNT_OF macro

* Likely not everything, but the obvious uses of B_COUNT_OF


# d516d16129c2d4abec06967f43de5ded7aa05688 22-Aug-2013 Siarzhuk Zharski <zharik@gmx.li>

USB audio/SiS7018: Set controls_count on list mix ioctl

Looks like it works with default controls count 128 on default Haiku
builds but force media-addons-server to crash in case KDEBUG_LEVEL is set
to 0. Thanks to Vitaly Diger for pointing out and testing this issue.


# 1acd796b6b153d1279dbe0c261886474514fba57 02-Feb-2012 Siarzhuk Zharski <zharik@gmx.li>

[Coverity] Add check for NULL before calling strlcpy.

* Fixes CID11207.


# eed9bc771c5006dfadc394555b5f4ed653ab80de 10-Dec-2011 Siarzhuk Zharski <zharik@gmx.li>

Use "strlcpy" instead of "strncpy" and other Coverity issues

* Yet more nice way to fix Coverity issues fixed by hrev43460.
Thanks Rene Gollent for pointing it out!
* Potential Coverity issues fixed for sis19x driver too.


# a188dae8be1051aea88459b4c4eb1e3f98b6cff1 10-Dec-2011 Siarzhuk Zharski <zharik@gmx.li>

Fixing Coverity issues. No functional changes

CID 3490
CID 3491
CID 8928
CID 10630
CID 10631
CID 10664
CID 10731
CID 10754
CID 11049
CID 11141
CID 11147
CID 11148


# b3fe883d9c00487330dfe29d160016b4b87f3628 26-Nov-2011 Philippe Saint-Pierre <stpere@gmail.com>

replace usage of strncpy by strlcpy to insure NULL termination

CID 10631


# 8f621df7f56924869285512477e62f484c10ee30 31-Jan-2011 Siarzhuk Zharski <zharik@gmx.li>

No functional changes. Fixed coding style violation. Pointed by korli. Thanx!


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


# a4f1824882aa1e69f4daab3ccbaeeda6a80d300d 30-Jan-2011 Siarzhuk Zharski <zharik@gmx.li>

1) Improved detecting and handling AC97 VRA possibilites. Thanks to Maxim for testing;
2) Functionality of the handling the rate for AC97 Front PCM DAC added.


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


# 07910542fd067906c6028cfc48f5ad38b32181fd 23-Jan-2011 Siarzhuk Zharski <zharik@gmx.li>

Audio driver for SiS 7018, Trident DX/NX and Acer Labs M5451 hardware
was rewritten to Haiku MultiAudio API.

This changeset replaces both old version of the same driver written for
BeOS R3 Sound API and ali5451 driver that handles the same audio hardware.
The driver was tested with SiS 7018 and ALi M5451 cards. Trident DX/NX
support still should be tested.

Some parts, related to ALi M5451 support were inspired by original ali5451
code so the copyright (c) 2009 by Krzysztof Ćwiertnia was added in the source.



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