Glenn Maynard
59b35c19bb
simplify stream configuration
2006-12-16 22:45:44 +00:00
Glenn Maynard
b700578675
remove unused param
2006-12-15 21:23:37 +00:00
Glenn Maynard
10fa6ceb2e
PREFSMAN->m_iSoundPreferredSampleRate == 0 means "do what's right for the hardware". We want a 44.1khz default for most systems, but KS should default to 48khz.
2006-12-06 06:26:24 +00:00
Steve Checkoway
a2dca95d01
Use native endian. Now Alsa works for powerpc linux.
2006-06-29 03:22:29 +00:00
Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
Glenn Maynard
81584d4879
update paths
2005-05-22 03:00:59 +00:00
Glenn Maynard
38b10ca499
one line
2005-05-20 00:18:15 +00:00
Steve Checkoway
c0c82a0527
Fix Linux compile.
2005-05-18 02:01:00 +00:00
Glenn Maynard
4e6d716027
GetRedirContents -> GetFileContents
2005-05-17 02:20:43 +00:00
Ben Anderson
34a45fb089
Whose bright idea was it to use SDL routines in the ALSA code?
2005-03-13 21:51:51 +00:00
Glenn Maynard
efe9fdb0f2
exceptions
2004-12-01 00:12:45 +00:00
Glenn Maynard
6fe94c6206
cleanup, fix warnings
2004-07-17 21:27:29 +00:00
Glenn Maynard
8a3fb77328
allow specifying ALSA device to use
2004-07-17 21:22:36 +00:00
Steve Checkoway
a613d4d9fa
s/RAGE_ASSERT/ASSERT/
2004-06-16 00:38:31 +00:00
Glenn Maynard
373744a64a
cleanup
2004-06-01 08:42:25 +00:00
Glenn Maynard
36def366c6
remove debug
2004-06-01 05:40:53 +00:00
Glenn Maynard
1f5500712c
testing
2004-06-01 03:58:45 +00:00
Glenn Maynard
23b67693da
add temp debug
2004-06-01 03:42:52 +00:00
Glenn Maynard
06b3b0762a
always try to snd_pcm_sw_params
2004-06-01 02:14:33 +00:00
Glenn Maynard
920960819d
log if ALSA changes settings on us
2004-06-01 01:51:29 +00:00
Glenn Maynard
c32452e740
fix uninitialized value
2004-05-17 05:52:21 +00:00
Glenn Maynard
aa73bb0444
license update
2004-05-15 20:28:17 +00:00
Glenn Maynard
9dfcb5b7e1
convert sound types
2004-05-11 20:32:55 +00:00
Glenn Maynard
d48c9295b8
link fix
2004-05-11 07:24:08 +00:00
Glenn Maynard
bed5872199
buffer size, chunk size cleanup
...
use poll()
many systems (even 2.4) can now handle much smaller writeaheads with
software mixing
2004-05-08 03:02:25 +00:00
Glenn Maynard
084042fc47
log ALSA kernel version earlier
2004-05-01 06:25:24 +00:00
Glenn Maynard
0565b31705
log ALSA errors
2004-04-03 20:55:50 +00:00
Glenn Maynard
1c73baed12
remove Alsa9Buf::Reset
2004-04-03 01:01:39 +00:00
Glenn Maynard
8d6c956ce1
minor Alsa9Buf::GetNumFramesToFill fix
2004-03-25 02:47:41 +00:00
Glenn Maynard
8f41a72aea
xfer_align fix
2004-02-18 07:29:41 +00:00
Glenn Maynard
9a37c9d079
add Alsa9Buf::GetHardwareID
2004-02-18 00:40:22 +00:00
Glenn Maynard
8de7ef8496
cleanup
2004-02-07 20:50:42 +00:00
Glenn Maynard
990eb50e4a
fix ALSA problems when going through plug
2004-02-05 21:03:03 +00:00
Glenn Maynard
dfb4fe942d
die if SetHWParams fails in SetSampleRate
2004-01-27 06:36:24 +00:00
Glenn Maynard
808b95a1cf
API update
2004-01-20 01:00:01 +00:00
Glenn Maynard
6b91ee5898
cleanup
2004-01-12 11:04:17 +00:00
Glenn Maynard
3294c04fa9
no, really
2004-01-12 11:02:16 +00:00
Glenn Maynard
6d3f224a15
this condition is normal now
2004-01-12 10:48:02 +00:00
Glenn Maynard
d5eded488a
add GetSampleRate
...
reset sample pos after stop
2004-01-12 03:53:16 +00:00
Glenn Maynard
aa74257d26
fix XRUN being reenabled because setting HWParams resets SWParams
2004-01-03 08:40:43 +00:00
Glenn Maynard
723328a5d5
32k buffer size, for weird hardware that doesn't work with 8k buffers
2004-01-03 03:05:19 +00:00
Glenn Maynard
72b3e5fa44
hush spurious warning
2004-01-03 02:49:19 +00:00
Glenn Maynard
a27620a32d
Handle hardware that only supports 48khz output (eg. Intel8x0, on
...
nForce boards). Allow drivers to tell whether specific sample rates
are supported (instead of "all or nothing").
Warning: this will break the Windows (and possibly OS X) drivers for
a few minutes until I update them.
2004-01-03 02:35:47 +00:00
Glenn Maynard
599794af64
use an 8k buffer for now; higher ones are causing a problem with at least one card
2003-12-31 10:27:37 +00:00
Glenn Maynard
34e1486550
Warn about ALSA errors
...
always set the smaple rate
set buffer size
2003-12-30 08:13:44 +00:00
Glenn Maynard
b137b81f34
log ALSA kernel driver version
2003-12-02 21:52:34 +00:00
Glenn Maynard
3513e5963a
improve output
2003-11-14 05:54:55 +00:00
Glenn Maynard
54fa821e84
Fix GetSoundCardDebugInfo crash.
2003-11-11 22:29:50 +00:00
Glenn Maynard
928a8ce1af
Dynamically bind ALSA, so binaries compiled with ALSA will work on systems
...
without ALSA installed.
2003-11-03 21:52:31 +00:00
Glenn Maynard
c9cfc77f0b
Better underrun recovery.
2003-10-28 08:27:10 +00:00