thx ;p
Dopiero niedawno zacząłem pisać w c# i z ort! wykorzystać bass.net.dll.
I napotkałem pierwszy problem ;/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Un4seen.Bass;
namespace BassPlayer
{
class Program
{
static void Main(string[] args)
{
Bass.BASS_Init(-1, 44100, BASSInit.BASS_DEVICE_LATENCY, IntPtr.Zero, null);
Bass.BASS_Start();
string sciezka = @"c:\muza.mp3";
int stream = Bass.BASS_StreamCreateFile(sciezka, 0, 0, BASSFlag.BASS_STREAM_DECODE);
if (stream != 0)
Bass.BASS_ChannelPlay(stream, false);
else
Console.WriteLine("Stream jest pusty");
}
}
}
Co w tym kodzie jest nie tak, że utwór muza.mp3 nie odtwarza się??