mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 17:46:31 +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();
|
||||
return 0;
|
||||
case 'e':
|
||||
if (!mmap_flag) {
|
||||
if (!mmap_flag)
|
||||
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;
|
||||
case 'E':
|
||||
if (mode == SND_PCM_MODE_BLOCK)
|
||||
|
|
Loading…
Reference in a new issue