mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
[ALSA] Clean up PCM codes (take 2)
- Clean up initialization and destruction of substream instance Now snd_pcm_open_substream() alone does most initialization jobs. Add pcm_release callback for cleaning up at snd_pcm_release_substream() - Tidy up PCM oss code Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
bf1bbb5a49
commit
3bf75f9b90
6 changed files with 114 additions and 219 deletions
|
@ -70,7 +70,6 @@ struct snd_pcm_oss_file {
|
|||
struct snd_pcm_oss_substream {
|
||||
unsigned oss: 1; /* oss mode */
|
||||
struct snd_pcm_oss_setup *setup; /* active setup */
|
||||
struct snd_pcm_oss_file *file;
|
||||
};
|
||||
|
||||
struct snd_pcm_oss_stream {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue