Ignore:
Timestamp:
May 2, 2007, 9:13:43 AM (19 years ago)
Author:
Brendan Oakley
Message:

Merged 0.9.0beta6 to 0.9.0beta12. Fixed a few compilation errors.
Left include/sound/driver.h at beta9 until I figure out why it contains
so many modifications to sections that were removed in beta10.
Does not yet build. Needs more fixing.
Added a few new files that were in the copy Paul gave me to work from.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/alsa-resync1/alsa-kernel/drivers/dummy.c

    r32 r92  
    1515 *   You should have received a copy of the GNU General Public License
    1616 *   along with this program; if not, write to the Free Software
    17  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
     17 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
    1818 *
    1919 */
    2020
    21 #define SNDRV_MAIN_OBJECT_FILE
    2221#include <sound/driver.h>
     22#include <linux/init.h>
     23#include <linux/sched.h>
     24#include <linux/slab.h>
     25#include <linux/time.h>
     26#include <linux/wait.h>
     27#include <sound/core.h>
    2328#include <sound/control.h>
    2429#include <sound/pcm.h>
     
    2631#define SNDRV_GET_ID
    2732#include <sound/initval.h>
     33
     34EXPORT_NO_SYMBOLS;
    2835
    2936MODULE_AUTHOR("Jaroslav Kysela <perex@suse.cz>");
     
    609616        if (snd_card_dummy_probe(dev) < 0) {
    610617#ifdef MODULE
    611             snd_printk("Dummy soundcard #%i not found or device busy\n", dev + 1);
     618                        printk(KERN_ERR "Dummy soundcard #%i not found or device busy\n", dev + 1);
    612619#endif
    613620            break;
     
    617624    if (!cards) {
    618625#ifdef MODULE
    619         snd_printk("Dummy soundcard not found or device busy\n");
     626                printk(KERN_ERR "Dummy soundcard not found or device busy\n");
    620627#endif
    621628        return -ENODEV;
     
    637644#ifndef MODULE
    638645
    639 /* format is: snd-card-dummy=snd_enable,snd_index,snd_id,
     646/* format is: snd-dummy=snd_enable,snd_index,snd_id,
    640647 snd_pcm_devs,snd_pcm_substreams */
    641648
Note: See TracChangeset for help on using the changeset viewer.