Changeset 4389076 in mainline for uspace/app


Ignore:
Timestamp:
2013-04-05T15:45:01Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
60e5696d
Parents:
02ead2e
Message:

hound, wavplay: switch to new hound iface

wavplay: use buffer that work well with current backend

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/wavplay/main.c

    r02ead2e r4389076  
    4646#include "wave.h"
    4747
    48 #define BUFFER_SIZE (4 * 1024)
     48#define BUFFER_SIZE (32 * 1024)
    4949
    5050
     
    7474        }
    7575        hound_context_t *hound = hound_context_create_playback(filename,
    76             format, 0);
     76            format, BUFFER_SIZE * 2);
    7777        if (!hound) {
    7878                printf("Failed to create HOUND context\n");
     
    258258                return 1;
    259259        }
    260         if (direct)
     260        if (direct) {
    261261                return dplay(device, file);
    262         else
     262        } else {
     263                return hplay(file);
    263264                return play_hound(file);
    264         hplay(file);
     265        }
    265266}
    266267/**
Note: See TracChangeset for help on using the changeset viewer.