Autor Beitrag
hanibal
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 157

Win xp
d7 eterprise
BeitragVerfasst: Mo 17.07.06 15:47 
Wenn ich meinen Mediaplayer länger laufen lasse, geht der Bass weg.

wie kann ich das beheben?


PS: der Mediaplayer basiert auf Bass.dll
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8548
Erhaltene Danke: 477

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mo 17.07.06 15:55 
Wann geht der Bass weg? Beim Liedwechsel, oder einfach so zwischendurch? Liegt es am Programm, oder kann es auch an der Hardware liegen (Soundkarte oder gar Boxen)? Wie kommt der Bass denn rein, bevor er weggeht?

_________________
We are, we were and will not be.
hanibal Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 157

Win xp
d7 eterprise
BeitragVerfasst: Mo 17.07.06 16:33 
an der harware liegts nich, af nen anderem pc genau so

wenn man das prog neu startet, geht es wider, is aber nervig

geht immer beim liederwechsel weg
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8548
Erhaltene Danke: 477

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mo 17.07.06 16:36 
Setzt du bei dem neun Lied den Equalizer neu? Das muss man nämlich afaik machen, da das keine Bass-Systemweite Einstellung ist, sondern eine auf den jeweiligen Stream bezogene...

_________________
We are, we were and will not be.
hanibal Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 157

Win xp
d7 eterprise
BeitragVerfasst: Mo 17.07.06 16:42 
ausblenden Delphi-Quelltext
1:
2:
3:
if not BASS_ChannelPlay(strs[1], False) then
      showmessage('Error playing stream!');
  bass.BASS_SetVolume(trackbar2.Position);
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8548
Erhaltene Danke: 477

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mo 17.07.06 16:48 
Jo, da setzt du die Lautstärke. Mit dem Bass hat das wenig zu tun ;-)

_________________
We are, we were and will not be.
hanibal Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 157

Win xp
d7 eterprise
BeitragVerfasst: Mo 17.07.06 18:19 
nee, da starte ich auch das abspielen

hängt das villeicht mit dem steam zusammen?
hanibal Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 157

Win xp
d7 eterprise
BeitragVerfasst: Mo 17.07.06 21:22 
hallo?
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Mo 17.07.06 21:35 
Benutzt du die Equalizer- Funktionen?

_________________
Programmers never die, they just GOSUB without RETURN
hanibal Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 157

Win xp
d7 eterprise
BeitragVerfasst: Mo 17.07.06 21:51 
nein , die benutze ich nicht
bs-Hobbit
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 46

Windows Xp (Home/Prof.), Windows Server 2003, Linux
D7,D2005
BeitragVerfasst: Di 18.07.06 00:12 
user profile iconhanibal hat folgendes geschrieben:
hallo?


Ich denke wenn dir einer Antworten kann wird er das auch tun, du brauchst diesen Thread nicht unnötig voll zu pumpem :P
Born-to-Frag
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Di 18.07.06 00:14 
wenn überhaupt, dann nach 24h und nicht 3 :roll:

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8548
Erhaltene Danke: 477

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Di 18.07.06 09:53 
Frage: Wie kommt Bass in das erste Lied rein, wenn du die Equalizer-Funktion der Bass nicht benutzt?

_________________
We are, we were and will not be.
hanibal Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 157

Win xp
d7 eterprise
BeitragVerfasst: Di 18.07.06 14:26 
wie?, kp, hier der quelltext:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
procedure TForm1.FormCreate(Sender: TObject);
begin
  if not BASS_Init(-1441000, Handle, nilthen
    showmessage('Error initializing audio!');
end;

{Bei play funktion}
bass.BASS_ChannelStop(strs[1]);
  f := PChar(datei2.Items.Strings[datei.ItemIndex] + datei.Items.Strings[datei.ItemIndex]);
  strs[1] := BASS_StreamCreateFile(False, f, 000);
  if strs[1] <> 0 then
  else
    showmessage('Coudn t load file!!');
  i := datei.ItemIndex;
  // Play the stream (continuing from current position)
  if i >= 0 then
    if not BASS_ChannelPlay(strs[1], False) then
      showmessage('Error playing stream!');
  bass.BASS_SetVolume(trackbar2.Position);
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8548
Erhaltene Danke: 477

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Di 18.07.06 14:48 
In anbetracht der Tatsache, dass du scheinbar nirgendwo in deinem Quelltext explizit "Bass" hinzufügst, wird der Umstand, dass beim Liedwechsel der Bass weg geht, wahrscheinlich daran liegen, dass das erste Lied nen guten Wumms hat, und das andere eher eins ohne Wumms ist. :nixweiss:

_________________
We are, we were and will not be.
hanibal Threadstarter
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 157

Win xp
d7 eterprise
BeitragVerfasst: Di 18.07.06 20:39 
nein, auch wenn man ein lid mit wumms an macht, kommt dann nichts mehr, bis man das prog neu startet
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8548
Erhaltene Danke: 477

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Di 18.07.06 21:15 
Lad am besten mal das komplette Projekt als Anhang hier hoch. Denn das, was du da oben als Quelltext gepostet hast, ist irgendwie für das Problem nicht relevant.

_________________
We are, we were and will not be.