mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 23:55:42 +01:00
MMAP changes (/dev/snd/pcmcontrol).
Removed unregister callback from snd_minor_t.
This commit is contained in:
parent
2265c964e0
commit
c0bd9ad381
1 changed files with 1 additions and 6 deletions
|
@ -381,13 +381,8 @@ int main(int argc, char *argv[])
|
||||||
version();
|
version();
|
||||||
return 0;
|
return 0;
|
||||||
case 'e':
|
case 'e':
|
||||||
if (!mmap_flag) {
|
if (!mmap_flag)
|
||||||
mode = SND_PCM_MODE_STREAM;
|
mode = SND_PCM_MODE_STREAM;
|
||||||
if (direction == SND_PCM_OPEN_CAPTURE)
|
|
||||||
direction = SND_PCM_OPEN_STREAM_CAPTURE;
|
|
||||||
if (direction == SND_PCM_OPEN_PLAYBACK)
|
|
||||||
direction = SND_PCM_OPEN_STREAM_PLAYBACK;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case 'E':
|
case 'E':
|
||||||
if (mode == SND_PCM_MODE_BLOCK)
|
if (mode == SND_PCM_MODE_BLOCK)
|
||||||
|
|
Loading…
Reference in a new issue