| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Turns out on those versions of FreeBSD (>= 7.x) that know OSS_GETVERSION
the ioctl doesn't actually work yet (except in the Linuxolator), so if
building on FreeBSD assume the sound drivers are new enough if the ioctl
returns the errno it does currently on FreeBSD.
(Rev 2 after private discussion with malc.)
Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de>
Signed-off-by: malc <av1474@comtv.ru>
(cherry picked from commit 72ff25e4e98d6dba9286d032b9ff5432553bbad5)
|
|
|
|
|
|
|
|
|
| |
Previous patch introduced subtle regression, in cases when
OSS_GETVERSION fails the code wasn't falling back to
SNDCTL_DSP_SETFRAGMENT.
Signed-off-by: malc <av1474@comtv.ru>
(cherry picked from commit 3d709fe73a77c40e263b3af6e650fd4b519c3562)
|
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
(cherry picked from commit 6d246526ce3c145b2831285def6983f5de6190d3)
|
|
|
|
|
|
|
|
| |
This fixes a problem with a previous patch spotted by Juergen Lock,
thanks to him again.
Signed-off-by: malc <av1474@comtv.ru>
(cherry picked from commit 78d9356d3caad95a74bc9cd65eea5fc7e050c35d)
|
|
|
|
|
|
|
| |
Thanks to Juergen Lock.
Signed-off-by: malc <av1474@comtv.ru>
(cherry picked from commit e726fe7d60d46636c74c1c4a8fac7e4a05efb163)
|
|
|
|
|
| |
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
|
|
|
|
| |
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
|
|
|
|
|
| |
Noticed by Steve Grubb.
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
|
|
|
| |
a. call waveOutReset to drain the queue
b. unprepare headers before freeing underlying memory
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We're seeing various issues with the SDL audio backend and want to
switch to the pulseaudio backend. See e.g.
https://bugzilla.redhat.com/495964
https://bugzilla.redhat.com/519540
https://bugzilla.redhat.com/496627
The pulseaudio backend seems to work well, so we should allow it to be
selected as the default.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
|
|
| |
To avoid possibly being called back and thus racing.
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
|
|
|
| |
Increase buffer size but do not rely on ALSA picking up default period
size.
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
|
|
|
| |
Additional argument (whether to try poll mode) is only passed with
VOICE_ENABLE command.
Thanks to Markus Armbruster for noticing the potential breakage.
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
|
|
|
|
|
| |
pcm_ops.run_out now takes number of live samples (which will be always
greater than zero) as a second argument, every driver was calling
audio_pcm_hw_get_live_out anyway with exception of fmod which used
audio_pcm_hw_get_live_out2 for no good reason.
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
|
|
| |
1ea879e5580f63414693655fcf0328559cdce138
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
|
| |
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
|
|
|
| |
a. Use SNDCTL_DSP_POLICY instead of SNDCTL_DSP_SETFRAGMENT
b. Add ability to open device in exclusive mode, thus bypassing vmix
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Our file sys-queue.h is a copy of the BSD file, but there are
some additions and it's not entirely compatible. Because of that, there have
been conflicts with system headers on BSD systems. Some hacks have been
introduced in the commits 15cc9235840a22c289edbe064a9b3c19c5f49896,
f40d753718c72693c5f520f0d9899f6e50395e94,
96555a96d724016e13190b28cffa3bc929ac60dc and
3990d09adf4463eca200ad964cc55643c33feb50 but the fixes were fragile.
Solution: Avoid the conflict entirely by renaming the functions and the
file. Revert the previous hacks.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
|
| |
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
|
|
|
|
|
|
| |
Thanks to Toshiya Takeda for bringing up an unrelated issue which led
to this.
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
|
|
|
|
|
|
|
|
| |
audio/esdaudio.c: In function 'qesd_thread_out':
audio/esdaudio.c:136: error: format '%d' expects type 'int', but
argument 3 has type 'ssize_t'
audio/esdaudio.c: In function 'qesd_thread_in':
audio/esdaudio.c:366: error: format '%d' expects type 'int', but
argument 3 has type 'ssize_t'
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
|
|
|
|
| |
Dsound currently does not compile due to the typos in the code. This
patch makes it compile again.{PATCH}
Signed-off-by: Alex Ivanov <void@aleksoft.net>
Signed-off-by: malc <av1474@comtv.ru>
|
| |
|
|
|
|
|
|
|
| |
Reformat to make item borders more visible
Fix cases of stray tabs and vertical misalignments
Signed-off-by: malc <av1474@comtv.ru>
|
|
|
|
| |
Signed-off-by: Juan Quintela <quintela@redhat.com>
|
|
|
|
| |
Signed-off-by: Juan Quintela <quintela@redhat.com>
|
|
|
|
| |
Signed-off-by: Juan Quintela <quintela@redhat.com>
|