Revision 67b915a5 oss.c

b/oss.c
21 21
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 22
 * THE SOFTWARE.
23 23
 */
24
#include "vl.h"
25

  
26
#ifndef _WIN32
24 27
#include <fcntl.h>
25 28
#include <errno.h>
26 29
#include <stdio.h>
......
33 36
#include <sys/ioctl.h>
34 37
#include <sys/soundcard.h>
35 38

  
36
#include "vl.h"
37 39

  
38 40
/* http://www.df.lth.se/~john_e/gems/gem002d.html */
39 41
/* http://www.multi-platforms.com/Tips/PopCount.htm */
......
510 512

  
511 513
    conf_fragsize = lsbindex (fsp);
512 514
}
515

  
516
#else
517

  
518
void AUD_run (void)
519
{
520
}
521

  
522
int AUD_write (void *in_buf, int size)
523
{
524
    return 0;
525
}
526

  
527
void AUD_reset (int rfreq, int rnchannels, audfmt_e rfmt)
528
{
529
}
530

  
531
void AUD_adjust_estimate (int _leftover)
532
{
533
}
534

  
535
int AUD_get_free (void)
536
{
537
    return 0;
538
}
539

  
540
int AUD_get_live (void)
541
{
542
    return 0;
543
}
544

  
545
int AUD_get_buffer_size (void)
546
{
547
    return 0;
548
}
549

  
550
void AUD_init (void)
551
{
552
}
553

  
554
#endif

Also available in: Unified diff