MMAP changes (/dev/snd/pcmcontrol).

Removed unregister callback from snd_minor_t.
This commit is contained in:
Jaroslav Kysela 1999-12-26 17:27:47 +00:00
parent 2265c964e0
commit c0bd9ad381

View file

@ -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)