Takashi Iwai
0d0e1a55c2
Change some timer ioctls due to confliction
...
Change values of some timer ioctls to avoid confliction with FIO* ioctls.
Use old ioctls if the timer protocol version doesn't match.
2005-05-15 14:47:03 +00:00
Takashi Iwai
1aaf4a50af
Fix blocking during draining in dmix
...
Fix the blocking during draining in dmix plugin due to ioctl
conflicts (bug #1074 ). This is a temporary workaround.
2005-05-15 13:54:00 +00:00
Takashi Iwai
10557ca6b9
Fix playback start with sync_ptr mode
...
Fix by Istvan Varadi <ivaradi@gmail.com>
- start the playback with snd_pcm_hw_start failed with -EPIPE, because
some pointers were not updated. I attached a patch for alsa-lib 1.0.8,
in which sync_ptr is called before SNDRV_PCM_IOCTL_START. It seems to
solve the problem, though I don't know alsa-lib enough to be sure that
this is the right solution...
2005-05-13 14:14:10 +00:00
Takashi Iwai
3403d9e622
Fix partial commit in drain
...
Fix the partial commit in draining with rate plugin.
2005-05-13 12:37:25 +00:00
Takashi Iwai
3047f8fa5a
Fix possible problems of playback drain with rate plugin
...
Fixed the possible problems of playback drain with rate plugin
when partial data remains and not committed before.
2005-05-12 13:34:59 +00:00
Takashi Iwai
da34d7ec96
Add configuration for AACI driver
...
Added the PCM configuration for ARM AACI driver.
2005-05-12 13:12:16 +00:00
Jaroslav Kysela
8ec3e4ea6c
added full async interface to timer API
...
- added snd_async_add_timer_handler and snd_async_handler_get_timer functions
- added async command to test/timer.c
2005-05-11 12:18:51 +00:00
Jaroslav Kysela
a022bc1fbc
API for device name lists and timer enhancements
...
- new snd_names_list and snd_names_list_free functions
- added snd_timer_ginfo related functions to the timer API
2005-05-10 10:52:30 +00:00
Jaroslav Kysela
f658e3e148
remove broken *_step initialization (caused by previous Fedora 4 patch)
...
Thanks to Abramo for notice.
2005-05-10 07:05:47 +00:00
Jaroslav Kysela
412fb54e0d
Fedora 4 patch - gcc4 fixes
2005-05-06 14:09:17 +00:00
Jaroslav Kysela
f2099d5770
- Fedora 4 patch - fix for alpha arch
2005-05-06 14:06:09 +00:00
Clemens Ladisch
cf73143ce8
fix snd_seq_query_next_client documentation
...
Fix snd_seq_query_next_client's documentation -- no name matching is
actually done by ALSA.
2005-05-02 07:42:52 +00:00
Clemens Ladisch
0b4e5e095d
usb-audio - add Extigy/Audigy 2 NX remote control support
...
Add an hwdep interface that supports reading remote control data from
Sound Blaster Extigy and Audigy 2 NX devices.
2005-04-29 15:29:29 +00:00
Clemens Ladisch
b6d9e25311
midiloop - remove running status test
...
Do not use running status to prevent errors with devices
that add or remove running status bytes.
2005-04-29 15:19:45 +00:00
Jaroslav Kysela
155ae28d1c
release: 1.0.9rc3
2005-04-27 14:03:58 +00:00
Takashi Iwai
467d69c5bc
Fix CPU hog with combination of rate plugin
...
Fix CPU hog with some apps (e.g. artsd) when rate plugin is used
together with dmix (or possible hw).
2005-04-22 16:36:13 +00:00
Takashi Iwai
56b3974439
Show verbose errors for invalid sw_params
...
Show verbose errors (when $LIBASOUND_DEBUG is set) for some invalid sw_params.
2005-04-20 14:31:33 +00:00
Takashi Iwai
0f0fea7450
Fix ATTRIBUTE_UNUSED
...
Remove invalid ATTRIBUTE_UNUSED and add it to necessary places.
2005-04-20 14:30:45 +00:00
Takashi Iwai
062df69f00
Make surround config backward compatible
...
Make hooks for surround config backward compatible with the older drivers
(without "Channel Mode" control).
2005-04-20 14:28:27 +00:00
Takashi Iwai
87ec7df91d
Read $LIBASOUND_DEBUG as integer
...
Read $LIBASOUND_DEBUG as integer, 1 = hw_params dump, 2 = assert.
2005-04-20 14:26:49 +00:00
Takashi Iwai
cac370de25
Fix segfault
...
Fix segfault (occuring when buffer/period sizes are aligned).
2005-04-19 16:11:26 +00:00
Takashi Iwai
9a0f2817bb
Fix timer read in non-TREAD mode
...
Fix timer read in non-TREAD mode. (the struct is different.)
2005-04-15 09:22:48 +00:00
Takashi Iwai
c5fc9e7cf7
Add external PCM plugin
...
Added the section for external PCM plugin.
2005-04-14 15:29:57 +00:00
Takashi Iwai
bdabcb9679
Check timer protocol number for direct plugins
...
Check timer protocol number before enabling TREAD mode for direct plugins.
2005-04-14 15:29:06 +00:00
Takashi Iwai
ca67f32848
Increase timer protocol number
...
Increase the timer protocl number (to distinguish the fix for TREAD ioctls).
2005-04-14 15:28:23 +00:00
Takashi Iwai
c9fbe951a9
Suppress verbose debug messages
...
Suppress verbose debug messages in hw_params_set[min|max|minmax] errors.
2005-04-14 15:27:47 +00:00
Takashi Iwai
21e676e383
Add PMac Toonie configuration
...
Added PMac Toonie configuration. Using softvol for default.
2005-04-14 14:30:02 +00:00
Takashi Iwai
b579a024db
Add verbose hw_params debugging
...
Added the verbose hw_params dump for debugging.
The verbose error message is shown with the current hw_params dump
when $LIBASOUND_DEBUG is set.
2005-04-14 14:22:13 +00:00
Takashi Iwai
0aed1ab2af
Remove invalid ATTRIBUTE_UNUSED
...
Remove the invalid use of ATTRIBUTE_UNUSED.
2005-04-14 14:21:10 +00:00
Takashi Iwai
91f7dd2378
Move old PCM API to pcm_old.h
...
Clean up -- move old 0.9.x PCM API to pcm_old.h.
2005-04-14 14:01:10 +00:00
Takashi Iwai
54ec88bafb
Use 'Channel Mode' control
...
Use 'Channel Mode' control to set the 4/6 channel mode in the config hooks.
2005-04-13 13:35:58 +00:00
Jaroslav Kysela
f65d9f3108
Added snd_pcm_hw_params_set_rate_resample function
...
- snd_pcm_hw_params_set_rate_resample()
- snd_pcm_hw_params_get_rate_resample()
2005-04-12 12:09:55 +00:00
Takashi Iwai
72ad0e9ae7
Fix more CPU hang-up bugs in dmix
...
- Fix CPU hang-up during snd_pcm_drain()
A new internal function snd_pcm_wait_nocheck() to force to call poll().
- Clean up, fix status() callback of dmix
2005-04-11 10:03:28 +00:00
Takashi Iwai
c915659538
Fix compile warning
...
Fix compile warning (forgot return 0).
2005-04-06 13:08:28 +00:00
Takashi Iwai
999609f7e0
Compile warning fixes
...
Trivial compile warning fixes.
2005-04-05 15:53:24 +00:00
Takashi Iwai
aa89f27de4
More fixes for 100% CPU hang with dmix
...
More fixes for 100% CPU hang-up problem with dmix.
- Clear timer queues properly when XRUN happens.
- Don't check XRUN when the stream isn't really running.
- Do hwsync properly for the delayed start state.
2005-04-05 15:50:15 +00:00
Takashi Iwai
e5b91844bf
Fix channel_info callbacks of hooks, file and plug plugins
...
Fixed channel_info callbacks of hooks, file and plug plugins (BTS #1034 ).
snd_pcm_generic_channel_info_slave() is added.
2005-04-05 15:48:01 +00:00
Takashi Iwai
38f4e69b0c
Remove Azalia.conf
...
Removed Azalia.conf, using alias to HDA-Intel instead.
2005-04-05 15:21:22 +00:00
James Courtier-Dutton
ef42a53dda
Update user land emu10k1.h with changes from kernel emu10k1.h
2005-04-02 14:21:59 +00:00
Takashi Iwai
1889920a43
Fix segfault with downsampling
...
Fix segfault in the initialization for downsampling.
2005-03-31 15:24:40 +00:00
Takashi Iwai
a0a440dcf4
Stop timer at XRUN
...
Stop PCM timer at XRUN.
2005-03-31 15:23:20 +00:00
Takashi Iwai
586c8872a9
Use dmix/dsnoop as default
...
Use dmix/dsnoop plugins as default for emu10k1x.
2005-03-29 17:42:40 +00:00
Takashi Iwai
06044933cc
Use S16 for default format
...
Use S16 (endian-dependent) for the default PCM format of dmix/dnsoop
configurations.
2005-03-29 16:35:28 +00:00
Takashi Iwai
5c91ee386d
Check PCM format aliases
...
Check PCM format alias strings (e.g. "S16") as acceptable PCM formats.
2005-03-29 16:34:31 +00:00
Takashi Iwai
9207804912
Generic architecture support
...
Support dmix on generic architectures without atomic operations but
using a semaphore to avoid concurrent accesses. This is less effective
than atomic operations but should work on every system.
2005-03-29 14:13:04 +00:00
Takashi Iwai
6a6a70ffe7
Do hwsync of slave PCM on dmix
...
Call hwsync of slave PCM on snd_pcm_hwsync() over dmix.
This reduces ocasional output noises, typically seen in xmms and bmp with
multi-threading on SMP/HT systems.
Disabled slowptr of default dmix definition again.
2005-03-29 14:10:16 +00:00
Takashi Iwai
5e325ea18b
Delayed start for dmix
...
Introducing a private state for the delayed start of PCM stream.
This problem occurs when the rate plugin doesn't feed the data
properly before triggering START. This results in weird problems,
e.g. an inifinte loop of artsd eating 100% CPU time.
To solve this problem, the state is marked as "pending" when no
data appears at the trigger, and the stream is started later at
the mmap commit.
2005-03-29 14:06:00 +00:00
Takashi Iwai
c5c9b2c8bb
Fix noises on exapnd
...
Fixes noise on rate expansion (bug #1018 ).
2005-03-29 13:52:41 +00:00
Jaroslav Kysela
1ac50201b0
latency test - Added -B and -E options
2005-03-25 08:53:48 +00:00
Takashi Iwai
e64cab565e
Fix noises in rate exapnsion
...
Fixed noises in rate exapnsion.
2005-03-24 20:28:56 +00:00