|
From: Mark K. <mar...@co...> - 2003-10-28 17:11:20
|
Yes, works better as root: root@Wizard linuxsampler # ./linuxsampler --numfragments 2 --fragmentsize 256 --gig ../Gigs/Mellotron\ 8Voice.gig Initializing audio output...OK Loading gig file...OK Caching initial samples...OK Starting disk thread...OK Starting MIDI in thread...OK Disk thread running Starting audio thread...OK LinuxSampler initialization completed. Audio thread running On Tue, 2003-10-28 at 09:09, Mark Knecht wrote: > On Tue, 2003-10-28 at 07:58, be...@ga... wrote: > > > > > you are correct, the hammerfall can deal only with > > number of fragments (period size) of 2. > > you can specify them on the commandline: > > --numfragments 2 > > and set the frames per audio buffer too: > > --fragmentsize 256 (means each audio fragment uses 256 frames). > > > > can you try again with the --numfragments 2 and see if it works ? > > > Benno, > Again a step closer. Probably LSt working (I'm ssh'ed in, so I cannot > actually listen right now) but still some messages I'd rather not see: > > mark@Wizard linuxsampler $ ./linuxsampler --numfragments 2 > --fragmentsize 256 -- > gig ../Gigs/Mellotron\ 8Voice.gig > Initializing audio output...OK > Loading gig file...OK > Caching initial samples...OK > Starting disk thread...OK > Starting MIDI in thread...WARNING, can't mlockall() memory!: Operation > not permitted > Disk thread running > OK > WARNING, can't mlockall() memory!: Operation not permitted > sched_setscheduler: Operation not permitted > Starting audio thread...OK > LinuxSampler initialization completed. > WARNING, can't mlockall() memory!: Operation not permitted > sched_setscheduler: Operation not permitted > Audio thread running > > > LinuxSampler stopped due to SIGINT > Segmentation fault > mark@Wizard linuxsampler $ > > > This is on the standard Gentoo kernel. Possibly it doesn't have some > sort of kernel option or patch compiled in? Let me know what you think. > > Do I need to run as root? > > I will do some audio testing tonight. > > Good work! > > Mark |