/*
 * Line 6 Linux USB driver
 *
 * Copyright (C) 2004-2010 Markus Grabner (grabner@icg.tugraz.at)
 *
 *	This program is free software; you can redistribute it and/or
 *	modify it under the terms of the GNU General Public License as
 *	published by the Free Software Foundation, version 2.
 *
 */

#ifndef CAPTURE_H
#define CAPTURE_H

#include <sound/pcm.h>

#include "driver.h"
#include "pcm.h"

extern struct snd_pcm_ops snd_line6_capture_ops;

extern void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf,
			       int fsize);
extern void line6_capture_check_period(struct snd_line6_pcm *line6pcm,
				       int length);
extern int line6_create_audio_in_urbs(struct snd_line6_pcm *line6pcm);
extern int line6_submit_audio_in_all_urbs(struct snd_line6_pcm *line6pcm);

#endif
ss='main'><a href='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='89d82452d1fd283bb1e313bc7a1f7c324362cf02'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master'>master</option>
<option value='nds-private-remove' selected='selected'>nds-private-remove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&amp;id=89d82452d1fd283bb1e313bc7a1f7c324362cf02'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/reset/stih407-resets.h?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/dt-bindings/reset/stih407-resets.h?h=nds-private-remove&amp;id=89d82452d1fd283bb1e313bc7a1f7c324362cf02'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/include/dt-bindings/reset/stih407-resets.h?h=nds-private-remove&amp;id=89d82452d1fd283bb1e313bc7a1f7c324362cf02'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/dt-bindings/reset/stih407-resets.h?h=nds-private-remove&amp;id=89d82452d1fd283bb1e313bc7a1f7c324362cf02'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/reset/stih407-resets.h'>
<input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='89d82452d1fd283bb1e313bc7a1f7c324362cf02'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?h=nds-private-remove&amp;id=89d82452d1fd283bb1e313bc7a1f7c324362cf02'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/include?h=nds-private-remove&amp;id=89d82452d1fd283bb1e313bc7a1f7c324362cf02'>include</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings?h=nds-private-remove&amp;id=89d82452d1fd283bb1e313bc7a1f7c324362cf02'>dt-bindings</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/reset?h=nds-private-remove&amp;id=89d82452d1fd283bb1e313bc7a1f7c324362cf02'>reset</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/reset/stih407-resets.h?h=nds-private-remove&amp;id=89d82452d1fd283bb1e313bc7a1f7c324362cf02'>stih407-resets.h</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/reset/stih407-resets.h?h=nds-private-remove&amp;id=89d82452d1fd283bb1e313bc7a1f7c324362cf02&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>