Skip to content

Commit

Permalink
ALSA: hda - Manage using output/loopback path indices
Browse files Browse the repository at this point in the history
Instead of search for the path with the certain route at each time,
keep the path index for each output and loopback, and just use it when
referred.

In this implementation, the path index number begins with one, not
zero (although I've been writing in C over decades).  It's just to
make the check for uninitialized values easier.

So far, the input paths aren't handled with indices yet, but still
picked up via snd_hda_get_nid_path() at each time.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Jan 12, 2013
1 parent 05453b7 commit 196c176
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 50 deletions.
Loading

0 comments on commit 196c176

Please sign in to comment.